Machinery clears it's occupant var if removed (#1767)
This commit is contained in:
committed by
kevinz000
parent
9d5e51777b
commit
57bf6fc7ba
@@ -495,3 +495,8 @@ Class Procs:
|
||||
emp_act(2)
|
||||
else
|
||||
ex_act(2)
|
||||
|
||||
/obj/machinery/Exited(atom/movable/AM, atom/newloc)
|
||||
. = ..()
|
||||
if (AM == occupant)
|
||||
occupant = null
|
||||
|
||||
Reference in New Issue
Block a user