More mistake fixing, yay

This commit is contained in:
Exavere
2021-09-21 15:06:21 -05:00
committed by GitHub
parent c01f71a9f6
commit 332c17155c
+1 -2
View File
@@ -26,8 +26,7 @@
icon_state = speed ? "conveyor-1" : "conveyor0"
/obj/machinery/power/treadmill/Crossed(mob/living/M, oldloc)
if(anchored
!M.anchored)
if(anchored && !M.anchored)
if(!istype(M) || M.dir != dir)
throw_off(M)
else