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)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2997 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2012-01-28 10:14:26 +00:00
parent 32a39fdf93
commit 8597fbd715
2 changed files with 5 additions and 2 deletions
+5 -1
View File
@@ -131,8 +131,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)