Salvage magnet accuracy fix (#10124)
This commit is contained in:
parent
750b009df3
commit
5084665643
|
|
@ -133,7 +133,7 @@ namespace Content.Server.Salvage
|
|||
if (_salvageGridStates.TryGetValue(magnetTranform.GridID, out var salvageGridState))
|
||||
{
|
||||
var remainingTime = component.MagnetState.Until - salvageGridState.CurrentTime;
|
||||
args.PushMarkup(Loc.GetString("salvage-system-magnet-examined-active", ("timeLeft", remainingTime.TotalSeconds)));
|
||||
args.PushMarkup(Loc.GetString("salvage-system-magnet-examined-active", ("timeLeft", Math.Ceiling(remainingTime.TotalSeconds))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ salvage-system-report-activate-success = The salvage magnet is pulling in a piec
|
|||
|
||||
salvage-system-magnet-examined-inactive = The salvage magnet is inactive.
|
||||
salvage-system-magnet-examined-pulling-in = The salvage magnet is attempting to pull in salvage.
|
||||
salvage-system-magnet-examined-active = The salvage magnet is holding salvage in place. Can hold for {$timeLeft} seconds.
|
||||
salvage-system-magnet-examined-active = The salvage magnet is holding salvage in place. Can hold for { $timeLeft ->
|
||||
[1] one second.
|
||||
*[other] { $timeLeft } seconds.
|
||||
}
|
||||
salvage-system-magnet-examined-releasing = The salvage magnet is releasing the salvage.
|
||||
salvage-system-magnet-examined-cooling-down = The salvage magnet is cooling down.
|
||||
|
|
|
|||
Loading…
Reference in New Issue