BFR siphon is not a deployment or a continuous action, but a fire action. Removed from check.

AMS, ANT and Router will be placed under ConditionalDriverVehicleControl instead.
This commit is contained in:
Resaec 2023-07-07 13:28:25 +02:00
parent 5d2c321efb
commit b67b71bd70

View file

@ -1443,14 +1443,10 @@ class ZoningOperations(
continent.GUID(player.avatar.vehicle) match {
case Some(vehicle: Vehicle) if vehicle.Actor != Default.Actor =>
// allow AMS, router, ANT and BFR siphon to remain deployed when owner leaves the zone
// TODO: do we need to check for left/right siphon?
// allow AMS, ANT and Router to remain deployed when owner leaves the zone
vehicle.Definition match {
case GlobalDefinitions.ams | GlobalDefinitions.ant | GlobalDefinitions.router |
GlobalDefinitions.aphelion_ntu_siphon | //GlobalDefinitions.aphelion_ntu_siphon_left | GlobalDefinitions.aphelion_ntu_siphon_right |
GlobalDefinitions.colossus_ntu_siphon | //GlobalDefinitions.colossus_ntu_siphon_left | GlobalDefinitions.colossus_ntu_siphon_right |
GlobalDefinitions.peregrine_ntu_siphon //| GlobalDefinitions.peregrine_ntu_siphon_left | GlobalDefinitions.peregrine_ntu_siphon_right
=> // do noting to keep them deployed
case GlobalDefinitions.ams | GlobalDefinitions.ant | GlobalDefinitions.router
=> sessionData.vehicles.ConditionalDriverVehicleControl(vehicle)
case _ => sessionData.vehicles.TotalDriverVehicleControl(vehicle)
}