Let daemon validate commodity purchase quantity
This commit is contained in:
parent
ae7eee7e06
commit
41295e4470
2 changed files with 4 additions and 4 deletions
|
|
@ -9173,6 +9173,8 @@ static void RequireTradePurchaseRequestAuthority(string root)
|
|||
"price > GameManager.Credits",
|
||||
"totalPrice > GameManager.Credits",
|
||||
"GameManager.Credits / price",
|
||||
"min(quantity, simpleCommodity.Quantity)",
|
||||
"quantity = min(q, simpleCommodity.Quantity)",
|
||||
"\"Insufficient Credits!\"",
|
||||
"\"Insufficient Cargo Space!\"",
|
||||
"\"Unable to create ship!\""
|
||||
|
|
|
|||
Loading…
Reference in a new issue