From 8a123f6b113e27f8e07bfc258cc2a489034571b4 Mon Sep 17 00:00:00 2001 From: sganggs Date: Mon, 5 Oct 2026 17:48:10 +0800 Subject: [PATCH] feedback5: the browser battle loads data/backups.json too, so a stand-in fights the same in the browser as on the server --- public/js/battle/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/battle/runner.js b/public/js/battle/runner.js index 585a6e67..38b58468 100644 --- a/public/js/battle/runner.js +++ b/public/js/battle/runner.js @@ -105,7 +105,7 @@ export function compactHeld(list) { return list.filter((x, i) => (x[0] === 'status' ? last.get(`s:${x[1]}:${x[2]}`) === i : x[0] === 'skill' ? last.get(`k:${x[1]}`) === i : true)); } /** Data files the simulation reads (DataSource + content/support gameData()). */ -export const SIM_DATA_FILES = Object.freeze(['chess', 'enemies', 'tokens', 'stages', 'waves', 'bonds', 'items', 'garrisons', 'bands', 'effects']); +export const SIM_DATA_FILES = Object.freeze(['chess', 'enemies', 'tokens', 'stages', 'waves', 'bonds', 'items', 'garrisons', 'bands', 'effects', 'backups']); /** Request failures after which a b.result counts as never delivered (re-sent on resume / b.start). */ export const LOST_RESULT_CODES = Object.freeze(['DISCONNECTED', 'OFFLINE', 'TIMEOUT']);