Skip to content

Commit

Permalink
Fix post-SD detonation timer (#5036)
Browse files Browse the repository at this point in the history
# About the pull request
The timer would loop over to 1h after SD went off, this fixes that.

# Explain why it's good for the game
Bugs bad

# Changelog
:cl:
fix: The Self Destruct timer in the status panel will now stop once SD
has gone off.
/:cl:
  • Loading branch information
Zonespace27 authored Nov 26, 2023
1 parent 91b56c3 commit 59b25e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/hijack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ SUBSYSTEM_DEF(hijack)
return "Complete"

/datum/controller/subsystem/hijack/proc/get_sd_eta()
if(!sd_time_remaining)
if(sd_detonated)
return "Complete"

if(overloaded_generators <= 0)
Expand Down

0 comments on commit 59b25e0

Please sign in to comment.