diff --git a/code/game/objects/items/weapons/implants/implant_explosive.dm b/code/game/objects/items/weapons/implants/implant_explosive.dm index c6e558533a7..ad7079fee1c 100644 --- a/code/game/objects/items/weapons/implants/implant_explosive.dm +++ b/code/game/objects/items/weapons/implants/implant_explosive.dm @@ -10,6 +10,7 @@ var/heavy = 0.4 var/delay = 7 var/popup = FALSE // is the DOUWANNABLOWUP window open? + var/active = FALSE /obj/item/weapon/implant/explosive/get_data() var/dat = {"Implant Specifications:
@@ -28,7 +29,7 @@ activate("death") /obj/item/weapon/implant/explosive/activate(cause) - if(!cause || !imp_in) + if(!cause || !imp_in || active) return 0 if(cause == "action_button" || !popup) popup = TRUE @@ -40,6 +41,7 @@ medium = round(medium) weak = round(weak) to_chat(imp_in, "You activate your [name].") + active = TRUE var/turf/boomturf = get_turf(imp_in) var/area/A = get_area(boomturf) message_admins("[key_name_admin(imp_in)]? (FLW) has activated their [name] at [A.name] (JMP).")