.
This commit is contained in:
parent
39972761ea
commit
0de5003090
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ func get_currency(c: Currency) -> Production:
|
||||||
return p
|
return p
|
||||||
|
|
||||||
func do_bribing(p: Production) -> bool:
|
func do_bribing(p: Production) -> bool:
|
||||||
|
if get_currency_amount(p.currency) < p.amount:
|
||||||
|
return false
|
||||||
produce(negate_production(p))
|
produce(negate_production(p))
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue