mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fix /Moved() that doesn't call parent.
This commit is contained in:
@@ -462,6 +462,7 @@
|
|||||||
// Called when a mob successfully moves.
|
// Called when a mob successfully moves.
|
||||||
// Would've been an /atom/movable proc but it caused issues.
|
// Would've been an /atom/movable proc but it caused issues.
|
||||||
/mob/Moved(atom/oldloc)
|
/mob/Moved(atom/oldloc)
|
||||||
|
. = ..()
|
||||||
for(var/obj/O in contents)
|
for(var/obj/O in contents)
|
||||||
O.on_loc_moved(oldloc)
|
O.on_loc_moved(oldloc)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user