From 9eca80b03e620b1ec31433fa8558bb42277383a7 Mon Sep 17 00:00:00 2001 From: Timur Kelman Date: Sun, 13 Aug 2023 19:22:41 +0200 Subject: [PATCH] remove trailing whitespaces --- gui/workorder-details.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/workorder-details.lua b/gui/workorder-details.lua index e9f298d3af..4c93828c12 100644 --- a/gui/workorder-details.lua +++ b/gui/workorder-details.lua @@ -171,7 +171,7 @@ end local function show_job_details() local scr = ScrJobDetails() - if not scr.open -- dfhack.gui.matchFocusString('dwarfmode/JobDetails') + if not scr.open -- dfhack.gui.matchFocusString('dwarfmode/JobDetails') or scr.context ~= df.job_details_context_type.MANAGER_WORK_ORDER then qerror("This script needs to be run from a work order details screen")