diff options
-rw-r--r-- | public/common/play.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/common/play.js b/public/common/play.js index 1ebc9dd..bfd33d2 100644 --- a/public/common/play.js +++ b/public/common/play.js @@ -651,6 +651,9 @@ async function init_replay() { case "resign": s = rules.resign(s, item.role); break; + case "restore": + s = JSON.parse(item.arguments); + break; default: s = rules.action(s, item.role, item.action, item.arguments); break; |