diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-22 02:12:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-22 02:12:07 +0200 |
commit | 8d1fcedf50100c78a6bb95fe41d70d3d7b5faddf (patch) | |
tree | fd77bf9a5743fd8adf2f41f52215fc6585f609d6 | |
parent | f7221dfa2d54e057c063acfb636bd30aca74b18b (diff) | |
download | wilderness-war-8d1fcedf50100c78a6bb95fe41d70d3d7b5faddf.tar.gz |
Don't try to change immutable 'options' object.
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9436,6 +9436,8 @@ function setup_1755(end_year) { } exports.setup = function (seed, scenario, options) { + options = object_copy(options) + load_game_state({ seed: seed, options: options, |