fixes syndicate bomb not triggering defuse properly

Moves active = false from wires\syndicatebomb\UpdateCut()
to machinery\syndicatebomb\process()
removes a redundant check for if the bomb is not active in machinery\syndicatebomb\process()
This fixes the bomb not triggering payload.defuse() in process(), and thus makes the training bomb actually work again
This commit is contained in:
denghis1
2020-07-03 19:30:04 +02:00
parent 76863b4f49
commit 82c6595926
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -96,7 +96,6 @@
if(BOMB_WIRE_ACTIVATE)
if(!mended && B.active)
holder.visible_message("<span class='notice'>[bicon(B)] The timer stops! The bomb has been defused!</span>")
B.active = FALSE
B.defused = TRUE
B.update_icon()
..()