forked from github/server
use snowman
This commit is contained in:
parent
3fb3e7b201
commit
318f348f27
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function use_snowman(u, amount)
|
|||
local man = add_unit(u.faction, u.region)
|
||||
man.race = "snowman"
|
||||
man.number = amount
|
||||
man:add_item("snowman", -amount)
|
||||
u:add_item("snowman", -amount)
|
||||
return 0
|
||||
end
|
||||
return -4
|
||||
|
|
Loading…
Reference in a new issue