Skip to content

Commit

Permalink
fix luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
gajop committed Mar 8, 2024
1 parent 469f301 commit aa1d7df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ globals = {
"UnitDefs", "UnitDefNames", "FeatureDefs", "FeatureDefNames",
"WeaponDefs", "WeaponDefNames", "LOG", "KEYSYMS", "CMD", "Script",
"SendToUnsynced", "Platform", "include",
"Engine",
-- Gadgets
"GG", "gadgetHandler", "gadget",
-- Widgets
Expand Down
2 changes: 1 addition & 1 deletion scen_edit/view/floating/status_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function StatusWindow:_UpdateMemory()
-- TODO: Act on it a bit better and automatically clear the undo-redo stack instead of prompting the user to do stuff.
local color = SB.conf.STATUS_TEXT_OK_COLOR

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

0 comments on commit aa1d7df

Please sign in to comment.