From 02e9ffe3a582bec6b13628032417662966ea2782 Mon Sep 17 00:00:00 2001 From: atteria <86520558+atteria@users.noreply.github.com> Date: Mon, 2 May 2022 04:14:14 -0700 Subject: [PATCH] fixes malf AIs being able to overload the nuke and gateway (#17718) --- code/game/gamemodes/nuclear/nuclearbomb.dm | 1 + code/modules/awaymissions/gateway.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/game/gamemodes/nuclear/nuclearbomb.dm b/code/game/gamemodes/nuclear/nuclearbomb.dm index 71051d2b19c..3beb0b2bb2d 100644 --- a/code/game/gamemodes/nuclear/nuclearbomb.dm +++ b/code/game/gamemodes/nuclear/nuclearbomb.dm @@ -18,6 +18,7 @@ GLOBAL_VAR(bomb_set) icon_state = "nuclearbomb0" density = 1 resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF + flags_2 = NO_MALF_EFFECT_2 anchored = TRUE var/extended = TRUE var/lighthack = FALSE diff --git a/code/modules/awaymissions/gateway.dm b/code/modules/awaymissions/gateway.dm index 96f86679590..d6d65b2fa8c 100644 --- a/code/modules/awaymissions/gateway.dm +++ b/code/modules/awaymissions/gateway.dm @@ -7,6 +7,7 @@ GLOBAL_DATUM_INIT(the_gateway, /obj/machinery/gateway/centerstation, null) density = 1 anchored = 1 resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF + flags_2 = NO_MALF_EFFECT_2 var/active = 0 /obj/machinery/gateway/Initialize()