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
|
||||
* mount and stop button
|
||||
* stop button
|
||||
* character profile
|
||||
* food time, speed, total capacity, base skills
|
||||
* spell list
|
||||
* spell bar
|
||||
* split chat
|
||||
* market
|
||||
* spell delays
|
||||
* offline training
|
||||
* purse bag
|
||||
* mounts drawings
|
||||
* report name/statements/bot/macros
|
||||
* ignore list
|
||||
* light
|
||||
|
|
|
@ -562,13 +562,15 @@ end
|
|||
function onGameStart()
|
||||
-- open last channels
|
||||
local lastChannelsOpen = g_settings.getNode('lastChannelsOpen')
|
||||
local savedChannels = lastChannelsOpen[g_game.getLocalPlayer():getName()]
|
||||
if savedChannels then
|
||||
for channelName, channelId in pairs(savedChannels) do
|
||||
channelId = tonumber(channelId)
|
||||
if channelId ~= 0 then
|
||||
if not table.find(channels, channelId) then
|
||||
g_game.joinChannel(channelId)
|
||||
if lastChannelsOpen then
|
||||
local savedChannels = lastChannelsOpen[g_game.getLocalPlayer():getName()]
|
||||
if savedChannels then
|
||||
for channelName, channelId in pairs(savedChannels) do
|
||||
channelId = tonumber(channelId)
|
||||
if channelId ~= 0 then
|
||||
if not table.find(channels, channelId) then
|
||||
g_game.joinChannel(channelId)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue