mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-09 13:34:40 +00:00
failsafe on the failsafe for cargo dismounting (carrier needs to exist, if not a vehicle)
This commit is contained in:
parent
fadd735b9f
commit
8eea4511b8
1 changed files with 4 additions and 2 deletions
|
|
@ -61,8 +61,10 @@ trait CargoBehavior {
|
|||
|
||||
def startCargoDismounting(bailed: Boolean): Unit = {
|
||||
if (!startCargoDismountingNoCleanup(bailed)) {
|
||||
isDismounting = None
|
||||
CargoObject.MountedIn = None
|
||||
CargoObject.Zone.GUID(CargoObject.MountedIn).orElse {
|
||||
isDismounting = None
|
||||
CargoObject.MountedIn = None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue