[MIRROR] Shuffles Exited() call to after loc is actually changed in forceMove. Fixes storage forcing everything to mouse opacity fulltile (#6884)
* Delete some duplicate macro definitions * sql changelog changes ping the host * Templates the caravan ambush ruin shuttles * Update CODEOWNERS * Update components.dm * Shuffles Exited() call to after loc is actually changed in forceMove. Fixes storage forcing everything to mouse opacity fulltile * Initial Placeholder * Update caravanambush.dmm
This commit is contained in:
committed by
kevinz000
parent
b24ff24696
commit
d62cb31e9b
@@ -927,9 +927,9 @@
|
||||
|
||||
/obj/mecha/Exited(atom/movable/M, atom/newloc)
|
||||
if(occupant && occupant == M) // The occupant exited the mech without calling go_out()
|
||||
go_out(1, newloc)
|
||||
go_out(TRUE, newloc)
|
||||
|
||||
/obj/mecha/proc/go_out(var/forced, var/atom/newloc = loc)
|
||||
/obj/mecha/proc/go_out(forced, atom/newloc = loc)
|
||||
if(!occupant)
|
||||
return
|
||||
var/atom/movable/mob_container
|
||||
|
||||
Reference in New Issue
Block a user