Skip to content

Commit

Permalink
fix nil
Browse files Browse the repository at this point in the history
  • Loading branch information
silentwings committed Nov 20, 2016
1 parent 70009fc commit 61e54eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luaui/widgets/bgu_playSkirmish.lua
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ local function createUI()

for _, archive in pairs(VFS.GetAllArchives()) do
local info = VFS.GetArchiveInfo(archive)
if info.modtype == 3 then AddMap(info) end
if info and info.modtype == 3 then AddMap(info) end
end
----------------------

Expand Down

0 comments on commit 61e54eb

Please sign in to comment.