From 89752a9f5c3876e81ecbd7314f9740644a8ba56b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 17 Mar 2023 13:20:15 +0100 Subject: Avoid action name collision with debugging command "restore". --- public/common/play.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'public') 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 -- cgit v1.2.3