summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-17 13:20:15 +0100
committerTor Andersson <tor@ccxvii.net>2023-03-17 13:20:56 +0100
commit89752a9f5c3876e81ecbd7314f9740644a8ba56b (patch)
treef9f7986ede644e208e29450cb1f9b093a40830e0 /public
parentbd835413cf9767c35aa3b0e7c55e200a67127fb8 (diff)
downloadserver-89752a9f5c3876e81ecbd7314f9740644a8ba56b.tar.gz
Avoid action name collision with debugging command "restore".
Diffstat (limited to 'public')
-rw-r--r--public/common/play.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/public/common/play.js b/public/common/play.js
index dde8a5d..dce1573 100644
--- a/public/common/play.js
+++ b/public/common/play.js
@@ -802,9 +802,6 @@ async function init_replay() {
function eval_action(item, p) {
let [ item_role, item_action, item_arguments ] = item
switch (item_action) {
- case "restore":
- s = JSON.parse(item_arguments)
- break
case "setup":
s = rules.setup(item_arguments[0], item_arguments[1], item_arguments[2])
break