Skip to content

Commit

Permalink
update to PZ version 32.20
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-coder committed Aug 14, 2015
1 parent 93014b7 commit 5789487
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions media/lua/client/tiny_avc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ function TinyAVC.downloadUpdates() -- {{{

local list = getModDirectoryTable();
for _, mod in pairs(list) do
mod = luautils.split(mod, "/");
mod = mod[#mod];
TinyAVC.mods[mod] = {};
local file = getFileInput("..".."/".."mods".."/"..mod.."/".."mod.info");
local file = getModFileReader(nil, mod.."/mod.info", false);
if file then
while true do
local line = file:readLine();
Expand Down Expand Up @@ -201,7 +203,9 @@ function TinyAVC.checkForUpdate() -- {{{
TinyAVC.downloadUpdates();

for i,k in ipairs(ModSelector.instance.listbox.items) do
local modInfo = TinyAVC.mods[k.text];
local mod = luautils.split(k.text, "/");
mod = mod[#mod];
local modInfo = TinyAVC.mods[mod];
local addText = " <LINE> <LINE> ";
if modInfo.url == nil then
addText = addText .. getText('UI_TinyAVC_Not_Supported');
Expand Down
4 changes: 2 additions & 2 deletions mod.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description=Automated mod version checker.
id=tiny_avc
url=http://theindiestone.com/forums/index.php/topic/13014-tiny-automated-version-checker-tiny-avc

modversion=0.8.2
pzversion=32.16
modversion=0.8.3
pzversion=32.20
versionurl=https://raw.githubusercontent.com/blind-coder/pz-tiny_avc/master/mod.info
2 changes: 1 addition & 1 deletion versionHistory.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
32.17;43;true
32.18;44;true
32.19;45;true
32.20;46;true
32.20;46;false

0 comments on commit 5789487

Please sign in to comment.