mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-09 21:44:43 +00:00
failsafe on the failsafe for cargo dismounting (carrier needs to exist, if not a vehicle) (#1364)
This commit is contained in:
parent
fadd735b9f
commit
fc6d3defde
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