Skip to content

Commit

Permalink
Fix SHOULD_NOT_SLEEP hit in training bombcore defusal (tgstation#75271)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss authored May 10, 2023
1 parent 703dd1c commit 27e7836
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/game/machinery/syndicatebomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,7 @@
attempts++
defusals++
holder.loc.visible_message(span_notice("[icon2html(holder, viewers(holder))] Alert: Bomb has been defused. Your score is now [defusals] for [attempts]! Resetting wires in 5 seconds..."))
sleep(5 SECONDS) //Just in case someone is trying to remove the bomb core this gives them a little window to crowbar it out
if(istype(holder))
reset()
addtimer(CALLBACK(src, PROC_REF(reset)), 5 SECONDS) //Just in case someone is trying to remove the bomb core this gives them a little window to crowbar it out

/obj/item/bombcore/badmin
name = "badmin payload"
Expand Down

0 comments on commit 27e7836

Please sign in to comment.