Skip to content

Commit

Permalink
test and destroy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Warfan1815 committed Jan 19, 2025
1 parent b716a24 commit 6609bee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/game/objects/effects/projector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ GLOBAL_LIST_EMPTY(deselected_projectors)
else
GLOB.deselected_projectors.Add(src)

/obj/effect/projector/Destroy()
. = ..()
if(SSfz_transitions.selective_update[firing_id])
GLOB.projectors -= src
else
GLOB.deselected_projectors -= src

/obj/effect/projector/onShuttleMove(turf/newT, turf/oldT, list/movement_force, move_dir, obj/docking_port/stationary/old_dock, obj/docking_port/mobile/moving_dock)
return TRUE
// we don't want projectors moving
Expand Down

0 comments on commit 6609bee

Please sign in to comment.