Skip to content

Commit

Permalink
display seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieposieeee committed Jan 29, 2025
1 parent 535601f commit 2b34934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ private void OnActivated(EntityUid uid, SOSCartridgeComponent component, Cartrid
// DeltaV - send feedback that you failed
else
{
_popupSystem.PopupEntity(Loc.GetString("sos-message-sent-cooldown"), uid, PopupType.MediumCaution);
var seconds = Math.Round(component.Timer);
_popupSystem.PopupEntity(Loc.GetString("sos-message-sent-cooldown", ("count", seconds)), uid, PopupType.MediumCaution);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ sos-program-name = SOS
sos-caller-defaultname = Unknown
sos-message = is requesting help!
sos-message-sent-success = SOS sent successfully.
sos-message-sent-cooldown = Please wait to send another SOS.
sos-message-sent-cooldown = Please wait {$count} seconds to send another SOS.

0 comments on commit 2b34934

Please sign in to comment.