Skip to content

Commit aa1d7df

Browse files
committed
fix luacheck
1 parent 469f301 commit aa1d7df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.luacheckrc

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ globals = {
3030
"UnitDefs", "UnitDefNames", "FeatureDefs", "FeatureDefNames",
3131
"WeaponDefs", "WeaponDefNames", "LOG", "KEYSYMS", "CMD", "Script",
3232
"SendToUnsynced", "Platform", "include",
33+
"Engine",
3334
-- Gadgets
3435
"GG", "gadgetHandler", "gadget",
3536
-- Widgets

scen_edit/view/floating/status_window.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function StatusWindow:_UpdateMemory()
9292
-- TODO: Act on it a bit better and automatically clear the undo-redo stack instead of prompting the user to do stuff.
9393
local color = SB.conf.STATUS_TEXT_OK_COLOR
9494

95-
-- If the BIGMEM BAR105 engine build is used, then we dont ever really need to warn the user.
95+
-- If the BIGMEM BAR105 engine build is used, then we dont ever really need to warn the user.
9696
local memoryWarnLevel = 500
9797
if string.find(Engine.versionFull,"BIGMEM", nil, true) then memoryWarnLevel = 16000 end
9898
if memory > memoryWarnLevel then

0 commit comments

Comments
 (0)