mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 07:24:53 +00:00
player needs to be carried over from message
This commit is contained in:
parent
f7d8e79dd8
commit
b336ddd25d
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class VehicleControl(vehicle: Vehicle)
|
||||||
}) =>
|
}) =>
|
||||||
sender() ! Mountable.MountMessages(user, Mountable.CanNotDismount(vehicle, seat_num))
|
sender() ! Mountable.MountMessages(user, Mountable.CanNotDismount(vehicle, seat_num))
|
||||||
|
|
||||||
case msg @ Mountable.TryDismount(_, seat_num, _) =>
|
case msg @ Mountable.TryDismount(player, seat_num, _) =>
|
||||||
dismountBehavior.apply(msg)
|
dismountBehavior.apply(msg)
|
||||||
dismountCleanup(seat_num, player)
|
dismountCleanup(seat_num, player)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue