Skip to content

Commit

Permalink
Nuclear Spawn Bugfix and use of defines (grammar edit for timers)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Jul 13, 2023
1 parent 4c63e5d commit c9e17ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion code/game/machinery/nuclearbomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var/bomb_set = FALSE
var/timing = FALSE
var/deployable = FALSE
var/explosion_time = null
var/timeleft = 4800
var/timeleft = 8 MINUTES
var/safety = TRUE
var/being_used = FALSE
var/end_round = TRUE
Expand Down Expand Up @@ -152,6 +152,7 @@ var/bomb_set = FALSE
data["command_lockout"] = command_lockout
data["allowed"] = allowed
data["being_used"] = being_used
data["decryption_complete"] = TRUE //this is overriden by techweb nuke UI_data later, this just makes it default to true

return data

Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/NuclearBomb.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const NuclearBomb = (_props, context) => {
{data.decryption_complete
? 'Decryption complete.'
: `Decryption time left :
${data.decryption_time} seconds`}
${data.decryption_time} minutes`}
</NoticeBox>
</Stack.Item>
<Stack.Item>
Expand Down

0 comments on commit c9e17ce

Please sign in to comment.