mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-19 22:53:37 +00:00
Amend mounting tests
This commit is contained in:
parent
3f1003c51e
commit
b4fb0cf855
2 changed files with 19 additions and 6 deletions
|
|
@ -276,6 +276,9 @@ class VehicleControl(vehicle: Vehicle)
|
|||
PrepareForDeletion()
|
||||
context.become(ReadyToDelete)
|
||||
|
||||
case VehicleControl.AssignOwnership(player) =>
|
||||
vehicle.AssignOwnership(player)
|
||||
|
||||
case _ => ;
|
||||
}
|
||||
|
||||
|
|
@ -860,6 +863,8 @@ object VehicleControl {
|
|||
|
||||
private case class Deletion()
|
||||
|
||||
final case class AssignOwnership(player: Option[Player])
|
||||
|
||||
/**
|
||||
* Determine if a given activity entry would invalidate the act of charging vehicle shields this tick.
|
||||
* @param now the current time (in nanoseconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue