From 0530c7aa9473f9878e3fba86ed745de7d1056cf9 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 23 Nov 2026 20:09:13 +0100 Subject: server: replace the scenario getter/setter with a direct field --- server/lib/core/state/game_save_state.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/core/state/game_save_state.dart') diff --git a/server/lib/core/state/game_save_state.dart b/server/lib/core/state/game_save_state.dart index e5f25ff..87886fa 100644 --- a/server/lib/core/state/game_save_state.dart +++ b/server/lib/core/state/game_save_state.dart @@ -21,7 +21,7 @@ class GameSaveState { final data = json.decode(_savedState ?? '') as Map; gameState._level = data['level'] as int; - gameState._scenario = data['scenario']; // as String; + gameState.scenario = data['scenario']; // as String; if (data.containsKey('toastMessage')) { gameState._toastMessage = data['toastMessage']; // as String; } -- cgit v1.3.1