Hide dev speed when paused
This commit is contained in:
parent
9b49aedccb
commit
36f91f91c3
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
|||
display: jsx(() => (
|
||||
<>
|
||||
{player.devSpeed === 0 ? <div>Game Paused</div> : null}
|
||||
{player.devSpeed != null && player.devSpeed !== 1 ? (
|
||||
{player.devSpeed != null && player.devSpeed !== 0 && player.devSpeed !== 1 ? (
|
||||
<div>Dev Speed: {format(player.devSpeed)}x</div>
|
||||
) : null}
|
||||
{player.offlineTime != null && player.offlineTime !== 0 ? (
|
||||
|
|
Loading…
Reference in a new issue