From de79511edaa632bd064b3e5318fb0fc018d99545 Mon Sep 17 00:00:00 2001 From: JDawg1290 Date: Sun, 15 Dec 2019 01:16:07 -0600 Subject: [PATCH] floor shields anchored --- code/game/objects/effects/effect_system/effect_shield.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/game/objects/effects/effect_system/effect_shield.dm b/code/game/objects/effects/effect_system/effect_shield.dm index 2537938c172..4344fbb2607 100644 --- a/code/game/objects/effects/effect_system/effect_shield.dm +++ b/code/game/objects/effects/effect_system/effect_shield.dm @@ -1,19 +1,20 @@ -/obj/effect/shield +/obj/effect/shield name = "shield" icon = 'icons/effects/effects.dmi' icon_state = "wave2" layer = ABOVE_NORMAL_TURF_LAYER flags_1 = PREVENT_CLICK_UNDER_1 + anchored = TRUE var/old_heat_capacity /obj/effect/shield/Initialize() . = ..() - var/turf/location = get_turf(src) + var/turf/location = get_turf(src) old_heat_capacity=location.heat_capacity location.heat_capacity = INFINITY /obj/effect/shield/Destroy() - var/turf/location = get_turf(src) + var/turf/location = get_turf(src) location.heat_capacity=old_heat_capacity ..() @@ -22,4 +23,4 @@ /obj/effect/shield/singularity_pull(S, current_size) return - +