diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-07 15:13:54 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 936a573b340afda735139318646cca057a6d2c03 (patch) | |
tree | 683b4aeadb9c0cd92fa1e76745c3306b1786d494 | |
parent | 29064e62bfbacab6030bf07b4efe65d75e625064 (diff) | |
download | plantagenet-936a573b340afda735139318646cca057a6d2c03.tar.gz |
Revert "Fix update_aliases so it works with patch_replay.js"
This reverts commit d01f5507ebf75427118135debf7ff772315cb9fe.
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -782,8 +782,10 @@ function update_aliases() { } function load_state(state) { - game = state - update_aliases() + if (game !== state) { + game = state + update_aliases() + } } function push_state(next) { |