From d4f41141ef907f336c56197a9ac3be62e751eda7 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 17 May 2023 16:45:35 -0700 Subject: [PATCH] fix game_extra reference --- plugins/lua/autolabor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lua/autolabor.lua b/plugins/lua/autolabor.lua index a468b30e1..a2c0e88cd 100644 --- a/plugins/lua/autolabor.lua +++ b/plugins/lua/autolabor.lua @@ -40,7 +40,7 @@ function AutolaborOverlay:init() end function AutolaborOverlay:render(dc) - if df.global.game_extra.external_flag ~= 1 then return end + if df.global.game.external_flag ~= 1 then return end AutolaborOverlay.super.render(self, dc) end