From 8cfcf53bd5df171b0335491d3392f8d8a1e53b50 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 12 Jun 2022 21:52:08 +0200 Subject: [PATCH] [MIRROR] Fixes igniters, stunprods and teleprods not working properly [MDB IGNORE] (#14267) * Fixes igniters, stunprods and teleprods not working properly (#67682) makes igniters not runtime when activated outside a holder Co-authored-by: robbertapir * Fixes igniters, stunprods and teleprods not working properly Co-authored-by: robbertapir <102324362+robbertapir@users.noreply.github.com> Co-authored-by: robbertapir --- code/modules/assembly/igniter.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/assembly/igniter.dm b/code/modules/assembly/igniter.dm index fc193a82c41..d3b3f3b63dd 100644 --- a/code/modules/assembly/igniter.dm +++ b/code/modules/assembly/igniter.dm @@ -36,7 +36,8 @@ var/turf/location = get_turf(loc) if(location) location.hotspot_expose(heat, EXPOSED_VOLUME) - SEND_SIGNAL(holder.loc, COMSIG_IGNITER_ACTIVATE) + if(holder) + SEND_SIGNAL(holder.loc, COMSIG_IGNITER_ACTIVATE) if(QDELETED(src)) return TRUE sparks.start()