Force channel list for testing.

This commit is contained in:
Andrew Tomaka 2011-05-25 05:44:45 -04:00
parent f353227f68
commit 1bcb5bd205

View file

@ -13,8 +13,8 @@ function core:ReloadUI()
channelList[index] = channel; channelList[index] = channel;
end end
--force channel list for now
myChannels = {}; myChannels = {};
myChannels[1] = 'General'; myChannels[1] = 'General';
myChannels[2] = 'Trade'; myChannels[2] = 'Trade';
myChannels[3] = 'LocalDefense'; myChannels[3] = 'LocalDefense';
@ -22,6 +22,7 @@ function core:ReloadUI()
myChannels[5] = 'ncabads'; myChannels[5] = 'ncabads';
myChannels[6] = 'ncafail'; myChannels[6] = 'ncafail';
--debugging
for index,channel in pairs(myChannels) do for index,channel in pairs(myChannels) do
if(channel ~= channelList[index]) then if(channel ~= channelList[index]) then
print('Channel ',channel,' not joined. Rejoining now!'); print('Channel ',channel,' not joined. Rejoining now!');