summaryrefslogtreecommitdiff
path: root/server/lib/core/state/game_save_state.dart
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-23 20:09:13 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-23 20:09:13 +0100
commit0530c7aa9473f9878e3fba86ed745de7d1056cf9 (patch)
treefa57cb1bd6a5eebf19a653c425b5d56f67af96c3 /server/lib/core/state/game_save_state.dart
parentc6c2ebfcd2bf6d30732ba9bbb0a4524a76bcbf05 (diff)
server: replace the scenario getter/setter with a direct fieldHEADmain
Diffstat (limited to 'server/lib/core/state/game_save_state.dart')
-rw-r--r--server/lib/core/state/game_save_state.dart2
1 files changed, 1 insertions, 1 deletions
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<String, dynamic>;
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;
}