From 85fa6aac2329cfccc079ecc29bb78df6443f1e7d Mon Sep 17 00:00:00 2001 From: Seth Scherer Date: Sat, 15 Jan 2022 16:10:33 -0500 Subject: [PATCH] Fixed cult airlocks runtiming when a noncultist touches it (#64106) The airlock was supplying the `throw_at` proc with itself as the thrower. However, the thrower is always expected to be a mob, so this leads to runtimes. --- code/game/machinery/doors/airlock_types.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/doors/airlock_types.dm b/code/game/machinery/doors/airlock_types.dm index 8c22120793d..7c352c3a91d 100644 --- a/code/game/machinery/doors/airlock_types.dm +++ b/code/game/machinery/doors/airlock_types.dm @@ -232,7 +232,7 @@ assemblytype = /obj/structure/door_assembly/door_assembly_plasma material_flags = MATERIAL_EFFECTS material_modifier = 0.25 - + /obj/machinery/door/airlock/plasma/Initialize(mapload) custom_materials = custom_materials ? custom_materials : list(/datum/material/plasma = 20000) . = ..() @@ -535,7 +535,7 @@ SEND_SOUND(L, sound(pick('sound/hallucinations/turn_around1.ogg','sound/hallucinations/turn_around2.ogg'),0,1,50)) flash_color(L, flash_color="#960000", flash_time=20) L.Paralyze(40) - L.throw_at(throwtarget, 5, 1,src) + L.throw_at(throwtarget, 5, 1) return FALSE /obj/machinery/door/airlock/cult/proc/conceal()