diff --git a/binaries/data/mods/official/gui/test/functions_page_session_status_commands.js b/binaries/data/mods/official/gui/test/functions_page_session_status_commands.js index a452073985..cccaf83cb4 100644 --- a/binaries/data/mods/official/gui/test/functions_page_session_status_commands.js +++ b/binaries/data/mods/official/gui/test/functions_page_session_status_commands.js @@ -462,10 +462,10 @@ function updateTab (tab, type, cellSheet, attribute, attribute2, arrayCells) { case "train": // TODO: Remove this item from the production queue if right-clicked. - issueCommand(selection, NMT_Produce, PRODUCTION_TRAiN, ""+(Crd[getCrd (this.name, true)].entity)); + issueCommand(selection, true, NMT_Produce, PRODUCTION_TRAiN, ""+(Crd[getCrd (this.name, true)].entity)); case "research": // TODO: Remove this item from the production queue if right-clicked. - issueCommand(selection, NMT_Produce, PRODUCTION_RESEARCH, ""+(Crd[getCrd (this.name, true)].entity.name)); + issueCommand(selection, true, NMT_Produce, PRODUCTION_RESEARCH, ""+(Crd[getCrd (this.name, true)].entity.name)); break; case "barter": // Buy a quantity of this resource if left-clicked. diff --git a/binaries/data/mods/official/gui/test/functions_sim_entity.js b/binaries/data/mods/official/gui/test/functions_sim_entity.js index bd473c834b..a3269decb0 100644 --- a/binaries/data/mods/official/gui/test/functions_sim_entity.js +++ b/binaries/data/mods/official/gui/test/functions_sim_entity.js @@ -118,7 +118,7 @@ function worldClickHandler(event) else setSelectionRun(); - issueCommand (selection, cmd, args[0], args[1]); + issueCommand (selection, isOrderQueued(), cmd, args[0], args[1]); } // ====================================================================