From 8c7d5366c95edc398ef597a080843e1536f7a11c Mon Sep 17 00:00:00 2001 From: Eric Wald Date: Sat, 14 May 2016 23:33:38 -0600 Subject: [PATCH] Switching to the new manager order flags --- plugins/lua/stockflow.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/lua/stockflow.lua b/plugins/lua/stockflow.lua index 9bf254c67..3422425ad 100644 --- a/plugins/lua/stockflow.lua +++ b/plugins/lua/stockflow.lua @@ -1087,7 +1087,8 @@ function create_orders(order, amount) new_order.amount_left = amount new_order.amount_total = amount -- Todo: Create in a validated state if the fortress is small enough? - new_order.is_validated = 0 + new_order.status.validated = false + new_order.status.active = true df.global.world.manager_orders:insert('#', new_order) end