From 78b6a60e80f0f44e91df063b36839b036f494e89 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:25:27 -0700 Subject: [PATCH] oh --- code/datums/components/killerqueen.dm | 2 +- .../mob/living/simple_animal/guardian/types/explosive.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/killerqueen.dm b/code/datums/components/killerqueen.dm index 783ec789b7..7c469a503b 100644 --- a/code/datums/components/killerqueen.dm +++ b/code/datums/components/killerqueen.dm @@ -46,7 +46,7 @@ /datum/component/killerqueen/Destroy() if(!exploded) - failure.Invoke(parent) + failure?.Invoke(parent) return ..() /datum/component/killerqueen/RegisterWithParent() diff --git a/code/modules/mob/living/simple_animal/guardian/types/explosive.dm b/code/modules/mob/living/simple_animal/guardian/types/explosive.dm index c5369afc20..2bc3cc9480 100644 --- a/code/modules/mob/living/simple_animal/guardian/types/explosive.dm +++ b/code/modules/mob/living/simple_animal/guardian/types/explosive.dm @@ -36,7 +36,7 @@ return if(isobj(A) && Adjacent(A)) if(bomb_cooldown <= world.time && !stat) - var/datum/component/killerqueen/K = A.AddComponent(/datum/component/killerqueen, CALLBACK(src, .proc/on_explode), CALLBACK(src, .proc/on_failure), \ + var/datum/component/killerqueen/K = A.AddComponent(/datum/component/killerqueen, EXPLODE_HEAVY, CALLBACK(src, .proc/on_explode), CALLBACK(src, .proc/on_failure), \ examine_message = "It glows with a strange light!") QDEL_IN(K, 1 MINUTES) to_chat(src, "Success! Bomb armed!")