From 8ccacd94e09c5149a17f286c336e857d3159b71e Mon Sep 17 00:00:00 2001 From: myk002 Date: Wed, 24 Mar 2021 21:49:53 -0700 Subject: [PATCH] clarify clean_reqscript() function comment --- ci/test.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/test.lua b/ci/test.lua index 114b125f0..93ccfa349 100644 --- a/ci/test.lua +++ b/ci/test.lua @@ -83,8 +83,9 @@ local function clean_require(module) end -- similar to clean_require above; forces clean load of scripts directly --- included from a test file. note that this does *not* force transitively --- loaded scripts to be reloaded. +-- included from a test file. note that this does *not* force indirectly loaded +-- scripts (that is, scripts that are reqscript()'d by the scripts that are +-- reqscript()'d by the test file) to be reloaded. local function clean_reqscript(name) dfhack.internal.scripts[dfhack.findScript(name)] = nil return reqscript(name)