From 95630c527146853fbbf10071da94333d683038e6 Mon Sep 17 00:00:00 2001 From: yaroot Date: Tue, 25 Jan 2011 08:51:29 +0800 Subject: [PATCH] attempt to fix #2 --- guild.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guild.lua b/guild.lua index 5b95f17..975186d 100644 --- a/guild.lua +++ b/guild.lua @@ -14,9 +14,8 @@ local function update() local buttons = GuildRosterContainer.buttons for i, button in ipairs(buttons) do - -- why the fuck no continue? - if(button:IsShown() and button.online and button.guildIndex) then - local name, rank, rankIndex, level, class, zone, note, officernote, online, status, classFileName, achievementPnts, achievementRank, isMobile = GetGuildRosterInfo(button.guildIndex) + local name, rank, rankIndex, level, class, zone, note, officernote, online, status, classFileName, achievementPnts, achievementRank, isMobile = GetGuildRosterInfo(button.guildIndex) + if(name and button:IsShown() and button.online and button.guildIndex) then --print(button.guildIndex, name, time()) if(_VIEW == 'playerStatus') then button.string1:SetText(ns.diffColor[level] .. level) -- 1.7.9.5