TG: Fix for issue 324 (what the hell was the point of moved_recently if it's stuck

at one after moving and has no impact outside of electropacks)
Revision: r2997
Author: 	 quartz235
This commit is contained in:
Ren Erthilo
2012-04-16 23:54:06 +01:00
parent 011b1a9066
commit 4679d0335b
2 changed files with 5 additions and 2 deletions
+5 -1
View File
@@ -130,8 +130,12 @@
var/mob/M = src.loc
var/turf/T = M.loc
if ((istype(T, /turf)))
if (M.moved_recently && M.last_move)
if (!M.moved_recently && M.last_move)
M.moved_recently = 1
step(M, M.last_move)
sleep 50
if(M)
M.moved_recently = 0
M.show_message("\red <B>You feel a sharp shock!</B>")
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(3, 1, M)