Merge remote-tracking branch 'eswald/stockflow-43' into develop

develop
lethosor 2016-05-17 23:29:01 -04:00
commit dabf443260
1 changed files with 2 additions and 0 deletions

@ -1098,6 +1098,8 @@ function create_orders(order, amount)
-- Todo: Create in a validated state if the fortress is small enough? -- Todo: Create in a validated state if the fortress is small enough?
new_order.status.validated = false new_order.status.validated = false
new_order.status.active = false new_order.status.active = false
new_order.id = df.global.world.manager_order_next_id
df.global.world.manager_order_next_id = df.global.world.manager_order_next_id + 1
df.global.world.manager_orders:insert('#', new_order) df.global.world.manager_orders:insert('#', new_order)
end end