From adfdb0ce72999bb3545935f42009e9cb92f9343c Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 24 Apr 2024 13:22:43 -0700 Subject: [PATCH] fix output stockpile type for gui/quantum stockpiles --- changelog.txt | 1 + gui/quantum.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 7d8c11eb3d..a95d249076 100644 --- a/changelog.txt +++ b/changelog.txt @@ -31,6 +31,7 @@ Template for new versions: ## New Features ## Fixes +- `gui/quantum`: accept all item types in the output stockpile as intended ## Misc Improvements diff --git a/gui/quantum.lua b/gui/quantum.lua index 17cb9913b4..7c0d86a791 100644 --- a/gui/quantum.lua +++ b/gui/quantum.lua @@ -49,7 +49,7 @@ local function get_quantumsp_data(name) local next_route_id = df.global.plotinfo.hauling.next_id name = ('Quantum %d'):format(next_route_id-1) end - return ('ry{name="%s" quantum=true}'):format(name) + return ('ry{name="%s" quantum=true}:+all'):format(name) end -- this function assumes that is_valid_pos() has already validated the positions