debitWorkOrderCost method created
This commit is contained in:
@@ -123,7 +123,8 @@ public enum ForgeManager implements Runnable {
|
|||||||
|
|
||||||
// Deduct gold cost from building
|
// Deduct gold cost from building
|
||||||
|
|
||||||
debitWorkOrderCost(workOrder);
|
if (debitWorkOrderCost(workOrder) == false)
|
||||||
|
return 58; //58: The formula is beyond the means of this facility
|
||||||
|
|
||||||
// Create in-memory items and add to collections
|
// Create in-memory items and add to collections
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user