Feed D_ORDERS instead of relying on sidebar mode enum

develop
lethosor 2016-01-04 20:09:05 -05:00
parent 9ae55177ef
commit 7eb442e98c
1 changed files with 1 additions and 1 deletions

@ -1626,7 +1626,7 @@ local function find_standing_orders(gname, seq, depends)
'Auto-searching for ' .. gname,
'uint8_t',
function(idx)
df.global.ui.main.mode = df.ui_sidebar_mode.Orders
dwarfmode_feed_input('D_ORDERS')
dwarfmode_feed_input(table.unpack(seq))
return true
end