mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #34817 from ninjanomnom/stop-pointing-at-me
Makes the point effect not trigger movement code
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
/obj/effect/temp_visual/point/Initialize(mapload, set_invis = 0)
|
/obj/effect/temp_visual/point/Initialize(mapload, set_invis = 0)
|
||||||
. = ..()
|
. = ..()
|
||||||
var/atom/old_loc = loc
|
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_x = old_loc.pixel_x
|
||||||
pixel_y = old_loc.pixel_y
|
pixel_y = old_loc.pixel_y
|
||||||
invisibility = set_invis
|
invisibility = set_invis
|
||||||
|
|||||||
Reference in New Issue
Block a user