Fixed offline time amount always showing when offline limit is 0
This commit is contained in:
parent
868a77af29
commit
3118db1402
1 changed files with 3 additions and 3 deletions
|
@ -46,10 +46,10 @@ export const main = createLayer("main", () => {
|
|||
<>
|
||||
{player.devSpeed === 0 ? <div>Game Paused</div> : null}
|
||||
{player.devSpeed && player.devSpeed !== 1 ? (
|
||||
<div>Dev Speed: {format(player.devSpeed || 0)}x</div>
|
||||
<div>Dev Speed: {format(player.devSpeed)}x</div>
|
||||
) : null}
|
||||
{player.offlineTime != undefined ? (
|
||||
<div>Offline Time: {formatTime(player.offlineTime || 0)}</div>
|
||||
{player.offlineTime ? (
|
||||
<div>Offline Time: {formatTime(player.offlineTime)}</div>
|
||||
) : null}
|
||||
<div>
|
||||
{Decimal.lt(points.value, "1e1000") ? <span>You have </span> : null}
|
||||
|
|
Loading…
Reference in a new issue