From ea223cd5fce51f262ad4d878295da90fefe662d2 Mon Sep 17 00:00:00 2001 From: Leshana Date: Mon, 15 May 2017 17:11:22 -0400 Subject: [PATCH] Prevent lighting_overlay objects from being moved around. * lighting_overlay objects belong to a turf. Turfs never move. Neither should the lighting_overlay, even of an overzealous shuttle controller thinks they should. --- code/modules/lighting/lighting_overlay.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/lighting/lighting_overlay.dm b/code/modules/lighting/lighting_overlay.dm index d46c5461df..60c684fd86 100644 --- a/code/modules/lighting/lighting_overlay.dm +++ b/code/modules/lighting/lighting_overlay.dm @@ -112,6 +112,15 @@ /atom/movable/lighting_overlay/singularity_pull() return +/atom/movable/lighting_overlay/forceMove() + return 0 //should never move + +/atom/movable/lighting_overlay/Move() + return 0 + +/atom/movable/lighting_overlay/throw_at() + return 0 + /atom/movable/lighting_overlay/Destroy() total_lighting_overlays-- global.lighting_update_overlays -= src