Skip to content

Commit e7860b4

Browse files
committed
restore overlays after running unit tests
1 parent 217a06a commit e7860b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/test.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ local gui = require('gui')
66
local helpdb = require('helpdb')
77
local json = require('json')
88
local mock = require('test_util.mock')
9+
local overlay = require('plugins.overlay')
910
local script = require('gui.script')
1011
local utils = require('utils')
1112

@@ -427,6 +428,7 @@ end
427428

428429
local function finish_tests(done_command)
429430
dfhack.internal.IN_TEST = false
431+
overlay.rescan()
430432
if done_command and #done_command > 0 then
431433
dfhack.run_command(done_command)
432434
end

0 commit comments

Comments
 (0)