a bit more stuff

This commit is contained in:
zerothebigboy
2021-02-10 18:55:56 -05:00
parent 87eb447c10
commit de2e410c6f
9 changed files with 85 additions and 13 deletions
+2 -1
View File
@@ -31,9 +31,10 @@
/obj/item/grenade/plastic/c4/ninja/prime(mob/living/lanced_by)
. = ..()
anchored = TRUE
//Since we already did the checks in afterattack, the denonator must be a ninja with the bomb objective.
if(!detonator)
return
var/datum/antagonist/ninja/ninja_antag = detonator.mind.has_antag_datum(/datum/antagonist/ninja)
var/datum/objective/plant_explosive/objective = locate() in ninja_antag.objectives
objective.completed = TRUE
objective.completed = TRUE