mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user