From 8218d1f24c577404186ba61cd161b0729eef51d2 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Tue, 6 Jun 2023 20:02:14 +0200 Subject: Always friendly locale for levy tests --- rules.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 831d113..8242f73 100644 --- a/rules.js +++ b/rules.js @@ -1092,7 +1092,7 @@ function is_friendly_locale(loc) { return true } } - return false + return true // TESTING PURPOSES NEED TO CHANGE TO FALSE } function can_add_transport(who, what) { @@ -1923,11 +1923,9 @@ states.levy_muster = { let done = true for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { - if (is_lord_at_friendly_locale(lord) && !get_lord_moved(lord)) { - /*if (!no_muster_of_or_by_lord(lord)) { + if (is_lord_at_friendly_locale(lord) && !get_lord_moved(lord) ) { gen_action_lord(lord) done = false - }*/ } } if (done) { -- cgit v1.2.3