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
1 changed files with 1 additions and 3 deletions
|
@ -62,9 +62,7 @@ end
|
||||||
|
|
||||||
function use_snowman(u, amount)
|
function use_snowman(u, amount)
|
||||||
if amount>0 and u.region.terrain == "glacier" then
|
if amount>0 and u.region.terrain == "glacier" then
|
||||||
local man = unit.create(u.faction, u.region)
|
local man = unit.create(u.faction, u.region, amount, "snowman")
|
||||||
man.race = "snowman"
|
|
||||||
man.number = amount
|
|
||||||
return amount
|
return amount
|
||||||
end
|
end
|
||||||
return -4
|
return -4
|
||||||
|
|
Loading…
Reference in a new issue