Clearing the active flag for new stockflow orders.

It's not entirely clear what this flag does when there aren't any conditions on the order, but new manual orders start as Ready instead of Active.
develop
Eric Wald 2016-05-15 22:03:36 -06:00
parent 0b1004f2b8
commit 2df41e6bad
1 changed files with 1 additions and 1 deletions

@ -1097,7 +1097,7 @@ function create_orders(order, amount)
new_order.amount_total = amount
-- Todo: Create in a validated state if the fortress is small enough?
new_order.status.validated = false
new_order.status.active = true
new_order.status.active = false
df.global.world.manager_orders:insert('#', new_order)
end