diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-13 16:01:14 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-13 16:01:14 +0100 |
commit | 82670c87330642fa62b1ebf9597bac5ac60b71a3 (patch) | |
tree | df8fd28e3bc6eaa9dfc78e9ac1b61e229089f72c | |
parent | 219d37c6dbddd2fc0ad59088e00b8be464263a04 (diff) | |
download | maria-82670c87330642fa62b1ebf9597bac5ac60b71a3.tar.gz |
Disable undo button during deal validation.
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6839,6 +6839,7 @@ states.validate_politics = { prompt("Did " + power_name[other] + " keep their politics promise?") view.actions.keep = 1 view.actions.break = 1 + view.actions.undo = 0 }, keep() { resume_validate_politics() @@ -6887,6 +6888,7 @@ states.validate_hussars = { prompt("Did " + power_name[other] + " keep their hussar promise?") view.actions.keep = 1 view.actions.break = 1 + view.actions.undo = 0 }, keep() { resume_validate_hussars() @@ -6951,6 +6953,7 @@ states.validate_movement = { prompt("Did " + power_name[other] + " keep their movement promise?") view.actions.keep = 1 view.actions.break = 1 + view.actions.undo = 0 }, keep() { resume_validate_movement() @@ -6995,6 +6998,7 @@ states.validate_retreat = { prompt("Did " + power_name[other] + " keep their retreat promise?") view.actions.keep = 1 view.actions.break = 1 + view.actions.undo = 0 }, keep() { resume_validate_retreat() |