mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Merge branch 'main' into day-20-factory
This commit is contained in:
commit
9163b840b9
2 changed files with 2 additions and 1 deletions
|
@ -304,6 +304,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
goal: 500,
|
||||
name,
|
||||
day,
|
||||
textColor: "var(--feature-foreground)",
|
||||
background: {
|
||||
gradient: "toys-bar",
|
||||
duration: "15s"
|
||||
|
|
|
@ -560,7 +560,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