Update todo, fix minor error
This commit is contained in:
parent
90312965bc
commit
6ef44d462d
4
TODO
4
TODO
|
@ -1,15 +1,13 @@
|
||||||
### Notable missing features
|
### Notable missing features
|
||||||
* mount and stop button
|
* stop button
|
||||||
* character profile
|
* character profile
|
||||||
* food time, speed, total capacity, base skills
|
* food time, speed, total capacity, base skills
|
||||||
* spell list
|
* spell list
|
||||||
* spell bar
|
* spell bar
|
||||||
* split chat
|
* split chat
|
||||||
* market
|
|
||||||
* spell delays
|
* spell delays
|
||||||
* offline training
|
* offline training
|
||||||
* purse bag
|
* purse bag
|
||||||
* mounts drawings
|
|
||||||
* report name/statements/bot/macros
|
* report name/statements/bot/macros
|
||||||
* ignore list
|
* ignore list
|
||||||
* light
|
* light
|
||||||
|
|
|
@ -562,13 +562,15 @@ end
|
||||||
function onGameStart()
|
function onGameStart()
|
||||||
-- open last channels
|
-- open last channels
|
||||||
local lastChannelsOpen = g_settings.getNode('lastChannelsOpen')
|
local lastChannelsOpen = g_settings.getNode('lastChannelsOpen')
|
||||||
local savedChannels = lastChannelsOpen[g_game.getLocalPlayer():getName()]
|
if lastChannelsOpen then
|
||||||
if savedChannels then
|
local savedChannels = lastChannelsOpen[g_game.getLocalPlayer():getName()]
|
||||||
for channelName, channelId in pairs(savedChannels) do
|
if savedChannels then
|
||||||
channelId = tonumber(channelId)
|
for channelName, channelId in pairs(savedChannels) do
|
||||||
if channelId ~= 0 then
|
channelId = tonumber(channelId)
|
||||||
if not table.find(channels, channelId) then
|
if channelId ~= 0 then
|
||||||
g_game.joinChannel(channelId)
|
if not table.find(channels, channelId) then
|
||||||
|
g_game.joinChannel(channelId)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue