From 315389aa03acc88b27c2d4e724fdbad6b0c7655b Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Wed, 6 Dec 2023 11:22:14 +0100 Subject: victory check after vm_replace --- rules.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules.js b/rules.js index 113236b..e74ab8a 100644 --- a/rules.js +++ b/rules.js @@ -2726,6 +2726,8 @@ states.vm_replace = { goto_vm_add_cubes() } else { reject_nineteenth_amendment(s) + if (check_victory()) + return vm_next() } }, @@ -2739,6 +2741,8 @@ states.vm_replace = { goto_vm_add_cubes() } else { ratify_nineteenth_amendment(s) + if (check_victory()) + return vm_next() } } -- cgit v1.2.3