Skip to content

Commit

Permalink
Update common.eai
Browse files Browse the repository at this point in the history
  • Loading branch information
SMUnlimited committed Dec 19, 2024
1 parent ff135ec commit cd5c828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.eai
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cd5c828

Please sign in to comment.