Force channel list for testing.
This commit is contained in:
parent
f353227f68
commit
1bcb5bd205
1 changed files with 2 additions and 1 deletions
|
@ -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!');
|
||||||
|
|
Loading…
Reference in a new issue