Skip to content

Commit

Permalink
correctly get info for mods
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-coder committed Aug 22, 2015
1 parent df5ddd2 commit 972b690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/lua/client/tiny_avc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ function TinyAVC.checkForUpdate() -- {{{
TinyAVC.downloadUpdates();

for i,k in ipairs(ModSelector.instance.listbox.items) do
local mod = luautils.split(k.text, "/");
mod = mod[#mod];
local mod = getModInfo(k.text);
mod = mod:getId();
local modInfo = TinyAVC.mods[mod];
local addText = " <LINE> <LINE> ";
if modInfo.url == nil then
Expand Down

0 comments on commit 972b690

Please sign in to comment.