mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +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:
@@ -169,7 +169,6 @@ obj
|
||||
src.m_flag = 1
|
||||
if ((A != src.loc && A && A.z == src.z))
|
||||
src.last_move = get_dir(A, src.loc)
|
||||
src.moved_recently = 1
|
||||
return
|
||||
|
||||
/*
|
||||
|
||||
@@ -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