chore: community feedback fixes and UI improvements #102

Merged
naomi merged 12 commits from chore/more into main 2026-03-23 16:07:26 -07:00
Showing only changes of commit 4c3b9acfc5 - Show all commits
+20 -1
View File
@@ -1281,7 +1281,26 @@ export const GameProvider = ({
if (availableBoss !== undefined) {
const { id: bossId, name: bossName } = availableBoss;
isAutoBossingReference.current = true;
void challengeBossApi({ bossId }).
const syncBeforeBoss
= stateReference.current !== null && !isSyncingReference.current
? saveGame({
state: stateReference.current,
...signatureReference.current === null
? {}
: { signature: signatureReference.current },
}).then((response) => {
if (response.signature !== undefined) {
signatureReference.current = response.signature;
localStorage.setItem(
"elysium_save_signature",
response.signature,
);
}
})
: Promise.resolve();
void syncBeforeBoss.then(async() => {
return await challengeBossApi({ bossId });
}).
then((result) => {
setState((previous) => {
if (previous === null) {