Merge pull request #34817 from ninjanomnom/stop-pointing-at-me

Makes the point effect not trigger movement code
This commit is contained in:
Jordan Brown
2018-01-24 01:00:03 -05:00
committed by GitHub

View File

@@ -8,7 +8,7 @@
/obj/effect/temp_visual/point/Initialize(mapload, set_invis = 0)
. = ..()
var/atom/old_loc = loc
forceMove(get_turf(src))
loc = get_turf(src) // We don't want to actualy trigger anything when it moves
pixel_x = old_loc.pixel_x
pixel_y = old_loc.pixel_y
invisibility = set_invis