From ffab4d6936c2f2c63809d2852b63d3399781231b Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sun, 22 May 2022 16:09:12 -0400 Subject: [PATCH] Fixes my fuckup (#17846) --- code/game/gamemodes/miniantags/bot_swarm/swarmer.dm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm b/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm index a7745a3ec45..070bdb4cb17 100644 --- a/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm +++ b/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm @@ -266,8 +266,6 @@ return TRUE /obj/machinery/door/swarmer_act(mob/living/simple_animal/hostile/swarmer/S) - if(!..()) - return FALSE var/isonshuttle = istype(get_area(src), /area/shuttle) for(var/turf/T in range(1, src)) var/area/A = get_area(T) @@ -387,8 +385,6 @@ return FALSE /turf/simulated/wall/swarmer_act(mob/living/simple_animal/hostile/swarmer/S) - if(!..()) - return FALSE var/isonshuttle = istype(loc, /area/shuttle) for(var/turf/T in range(1, src)) var/area/A = get_area(T) @@ -403,19 +399,17 @@ return ..() /obj/structure/window/swarmer_act(mob/living/simple_animal/hostile/swarmer/S) - if(!..()) - return FALSE var/isonshuttle = istype(get_area(src), /area/shuttle) for(var/turf/T in range(1, src)) var/area/A = get_area(T) if(isspaceturf(T) || (!isonshuttle && (istype(A, /area/shuttle) || istype(A, /area/space))) || (isonshuttle && !istype(A, /area/shuttle))) to_chat(S, "Destroying this object has the potential to cause a hull breach. Aborting.") S.target = null - return TRUE + return FALSE else if(istype(A, /area/engine/supermatter)) to_chat(S, "Disrupting the containment of a supermatter crystal would not be to our benefit. Aborting.") S.target = null - return TRUE + return FALSE return ..() /obj/item/stack/cable_coil/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)//Wiring would be too effective as a resource