Skip to content

Commit

Permalink
Match Unlock Time in Nuke Timelock Message with Nuke Techtree Descrip…
Browse files Browse the repository at this point in the history
…tion (#4987)

# About the pull request

Matches the unlock time given in the refused nuke timelock message with
the time given in the nuke's techtree description.

# Explain why it's good for the game

It was confusing seeing two different numbers for when the nuke would be
unlocked.


# Testing Photographs and Procedure
Gave myself tech points, tried to unlock nuke early, time was correct
after commit.


# Changelog

:cl: SortieEnMer
qol: Match Unlock Time in Nuke Timelock Message with Nuke Techtree
Description
/ :cl:
  • Loading branch information
Sort1eEnMer authored Nov 22, 2023
1 parent 876259e commit fa6ee9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_tech/techs/marine/tier4/nuke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
return

if(ROUND_TIME < NUKE_UNLOCK_TIME)
to_chat(unlocking_mob, SPAN_WARNING("You cannot purchase this node before [NUKE_UNLOCK_TIME / (1 MINUTES)] minutes into the operation."))
to_chat(unlocking_mob, SPAN_WARNING("You cannot purchase this node before [Ceiling((NUKE_UNLOCK_TIME + SSticker.round_start_time) / (1 MINUTES))] minutes into the operation."))
return FALSE

return TRUE
Expand Down

0 comments on commit fa6ee9c

Please sign in to comment.