forked from github/server
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:
parent
c53ac9d8aa
commit
879d791a60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue