mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-14 07:55:07 +00:00
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:
parent
5d2c321efb
commit
b67b71bd70
1 changed files with 3 additions and 7 deletions
|
|
@ -1443,14 +1443,10 @@ class ZoningOperations(
|
||||||
continent.GUID(player.avatar.vehicle) match {
|
continent.GUID(player.avatar.vehicle) match {
|
||||||
case Some(vehicle: Vehicle) if vehicle.Actor != Default.Actor =>
|
case Some(vehicle: Vehicle) if vehicle.Actor != Default.Actor =>
|
||||||
|
|
||||||
// allow AMS, router, ANT and BFR siphon to remain deployed when owner leaves the zone
|
// allow AMS, ANT and Router to remain deployed when owner leaves the zone
|
||||||
// TODO: do we need to check for left/right siphon?
|
|
||||||
vehicle.Definition match {
|
vehicle.Definition match {
|
||||||
case GlobalDefinitions.ams | GlobalDefinitions.ant | GlobalDefinitions.router |
|
case GlobalDefinitions.ams | GlobalDefinitions.ant | GlobalDefinitions.router
|
||||||
GlobalDefinitions.aphelion_ntu_siphon | //GlobalDefinitions.aphelion_ntu_siphon_left | GlobalDefinitions.aphelion_ntu_siphon_right |
|
=> sessionData.vehicles.ConditionalDriverVehicleControl(vehicle)
|
||||||
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 _ => sessionData.vehicles.TotalDriverVehicleControl(vehicle)
|
case _ => sessionData.vehicles.TotalDriverVehicleControl(vehicle)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue