mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-15 16:34:42 +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 = {
|
def startCargoDismounting(bailed: Boolean): Unit = {
|
||||||
if (!startCargoDismountingNoCleanup(bailed)) {
|
if (!startCargoDismountingNoCleanup(bailed)) {
|
||||||
isDismounting = None
|
CargoObject.Zone.GUID(CargoObject.MountedIn).orElse {
|
||||||
CargoObject.MountedIn = None
|
isDismounting = None
|
||||||
|
CargoObject.MountedIn = None
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue