From 3118db1402f7d1ae5d52cd95685b5b1aaab68059 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 10 May 2022 21:01:57 -0500 Subject: [PATCH] Fixed offline time amount always showing when offline limit is 0 --- src/data/projEntry.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 21f96c5..0abb5cb 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -46,10 +46,10 @@ export const main = createLayer("main", () => { <> {player.devSpeed === 0 ?
Game Paused
: null} {player.devSpeed && player.devSpeed !== 1 ? ( -
Dev Speed: {format(player.devSpeed || 0)}x
+
Dev Speed: {format(player.devSpeed)}x
) : null} - {player.offlineTime != undefined ? ( -
Offline Time: {formatTime(player.offlineTime || 0)}
+ {player.offlineTime ? ( +
Offline Time: {formatTime(player.offlineTime)}
) : null}
{Decimal.lt(points.value, "1e1000") ? You have : null}