summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-27 22:36:40 +0200
committerTor Andersson <tor@ccxvii.net>2022-03-27 22:45:29 +0200
commitaa5bbfd04e85ea8a0c63fe9b8bd220a1898f70a7 (patch)
treeff920e02ad348e5c1726190825bd0fce512162e3 /public
parent2b71f3a51d694682c7fc6cb42d3197c958847fc3 (diff)
downloadserver-aa5bbfd04e85ea8a0c63fe9b8bd220a1898f70a7.tar.gz
Enable/disable debugging commands as a global server setting.
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 ae3e622..13ce453 100644
--- a/public/common/play.js
+++ b/public/common/play.js
@@ -659,9 +659,6 @@ 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;