Merge pull request #5052 from Citadel-Station-13/upstream-merge-34817

[MIRROR] Makes the point effect not trigger movement code
This commit is contained in:
LetterJay
2018-01-24 13:51:34 -06:00
committed by GitHub
+1 -1
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