seems like I forgot to commit this change,

which is making the test fail. why only on my mac, though?
This commit is contained in:
Enno Rehling 2016-10-02 14:30:27 +02:00
parent c53ac9d8aa
commit 879d791a60
1 changed files with 1 additions and 3 deletions

View File

@ -62,9 +62,7 @@ end
function use_snowman(u, amount)
if amount>0 and u.region.terrain == "glacier" then
local man = unit.create(u.faction, u.region)
man.race = "snowman"
man.number = amount
local man = unit.create(u.faction, u.region, amount, "snowman")
return amount
end
return -4