Drop the high score wipe; scores leave only by being beaten

The table was clearable behind a confirm. It should not be: a stand
earns its place and loses it only to a better summer, so the control
and clearScores() are gone and the screen says so.
This commit is contained in:
2026-09-08 15:32:31 -07:00
parent 71cbb02353
commit 175589223a
4 changed files with 12 additions and 35 deletions
+1 -3
View File
@@ -4,7 +4,7 @@ import { synth } from './audio/synth'
import { WEATHER } from './game/constants'
import { dollars, randomSeed, rollDay, simulate } from './game/engine'
import { makeRng, type Rng } from './game/rng'
import { addScores, clearScores, loadScores, type Score } from './game/highscores'
import { addScores, loadScores, type Score } from './game/highscores'
import { activePlayers, initialState, reducer } from './game/reducer'
import type { Decision } from './game/types'
import { BriefingScreen } from './components/BriefingScreen'
@@ -267,8 +267,6 @@ export default function App() {
synth.select()
dispatch({ type: 'CLOSE_SCORES' })
}}
onClear={() => setScores(clearScores())}
onBlip={blip}
/>
)}
</Fit>