Amend mounting tests

This commit is contained in:
Mazo 2021-02-02 21:59:46 +00:00
parent 3f1003c51e
commit b4fb0cf855
2 changed files with 19 additions and 6 deletions

View file

@ -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)