From cd5c828a3cfcc2204c996c9d4b24dd141519c37f Mon Sep 17 00:00:00 2001 From: SMUnlimited Date: Thu, 19 Dec 2024 22:56:55 +0000 Subject: [PATCH] Update common.eai --- common.eai | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.eai b/common.eai index ab9f08c5a..8dbda028b 100644 --- a/common.eai +++ b/common.eai @@ -11935,9 +11935,9 @@ function FormGroupAM takes integer seconds returns nothing set desire = attack_max[index] set count = TownCountDone(unitid) - if wood > minimum_peon_wood then + if GetWood() > minimum_peon_wood then set take_all_ghouls_along = true - elseif wood < minimum_peon_wood then + elseif GetWood() < minimum_peon_wood then set take_all_ghouls_along = false endif