issue caused by relaymove() not being checked properly.
added comment to prevent this kind of issue in the future.
This commit is contained in:
Walter0o
2014-08-21 15:41:28 +02:00
parent 013cfa399c
commit ff8047baa0
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -200,6 +200,8 @@ its easier to just keep the beam vertical.
//usr << "[name]: Dn:[density] dir:[dir] cont:[contents] icon:[icon] is:[icon_state] loc:[loc]"
return
// called by mobs when e.g. having the atom as their machine, pulledby, loc (AKA mob being inside the atom) or buckled var set.
// see code/modules/mob/mob_movement.dm for more.
/atom/proc/relaymove()
return
+2 -1
View File
@@ -190,7 +190,8 @@
/obj/machinery/disposal/relaymove(mob/user as mob)
if(user.stat || src.flushing)
return
src.go_out(user)
if(user.loc == src)
src.go_out(user)
return
// leave the disposal