This commit is contained in:
silicons
2020-07-28 12:25:27 -07:00
parent fd738fd16a
commit 78b6a60e80
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
/datum/component/killerqueen/Destroy()
if(!exploded)
failure.Invoke(parent)
failure?.Invoke(parent)
return ..()
/datum/component/killerqueen/RegisterWithParent()
@@ -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 = "<span class='holoparasite'>It glows with a strange <font color=\"[guardiancolor]\">light</font>!</span>")
QDEL_IN(K, 1 MINUTES)
to_chat(src, "<span class='danger'><B>Success! Bomb armed!</span></B>")