|
|
@ -170,7 +170,7 @@ function enableChat()
|
|
|
|
gameInterface.unbindWalkKey("D")
|
|
|
|
gameInterface.unbindWalkKey("D")
|
|
|
|
gameInterface.unbindWalkKey("S")
|
|
|
|
gameInterface.unbindWalkKey("S")
|
|
|
|
gameInterface.unbindWalkKey("A")
|
|
|
|
gameInterface.unbindWalkKey("A")
|
|
|
|
|
|
|
|
|
|
|
|
gameInterface.unbindWalkKey("E")
|
|
|
|
gameInterface.unbindWalkKey("E")
|
|
|
|
gameInterface.unbindWalkKey("Q")
|
|
|
|
gameInterface.unbindWalkKey("Q")
|
|
|
|
gameInterface.unbindWalkKey("C")
|
|
|
|
gameInterface.unbindWalkKey("C")
|
|
|
@ -199,7 +199,7 @@ function disableChat()
|
|
|
|
gameInterface.bindWalkKey("D", East)
|
|
|
|
gameInterface.bindWalkKey("D", East)
|
|
|
|
gameInterface.bindWalkKey("S", South)
|
|
|
|
gameInterface.bindWalkKey("S", South)
|
|
|
|
gameInterface.bindWalkKey("A", West)
|
|
|
|
gameInterface.bindWalkKey("A", West)
|
|
|
|
|
|
|
|
|
|
|
|
gameInterface.bindWalkKey("E", NorthEast)
|
|
|
|
gameInterface.bindWalkKey("E", NorthEast)
|
|
|
|
gameInterface.bindWalkKey("Q", NorthWest)
|
|
|
|
gameInterface.bindWalkKey("Q", NorthWest)
|
|
|
|
gameInterface.bindWalkKey("C", SouthEast)
|
|
|
|
gameInterface.bindWalkKey("C", SouthEast)
|
|
|
@ -245,7 +245,13 @@ function terminate()
|
|
|
|
violationWindow:destroy()
|
|
|
|
violationWindow:destroy()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
consoleTabBar = nil
|
|
|
|
|
|
|
|
consoleContentPanel = nil
|
|
|
|
|
|
|
|
consoleToggleChat = nil
|
|
|
|
|
|
|
|
consoleTextEdit = nil
|
|
|
|
|
|
|
|
|
|
|
|
consolePanel:destroy()
|
|
|
|
consolePanel:destroy()
|
|
|
|
|
|
|
|
consolePanel = nil
|
|
|
|
ownPrivateName = nil
|
|
|
|
ownPrivateName = nil
|
|
|
|
|
|
|
|
|
|
|
|
Console = nil
|
|
|
|
Console = nil
|
|
|
@ -300,11 +306,14 @@ function clear()
|
|
|
|
channels = {}
|
|
|
|
channels = {}
|
|
|
|
|
|
|
|
|
|
|
|
consoleTabBar:removeTab(defaultTab)
|
|
|
|
consoleTabBar:removeTab(defaultTab)
|
|
|
|
|
|
|
|
defaultTab = nil
|
|
|
|
consoleTabBar:removeTab(serverTab)
|
|
|
|
consoleTabBar:removeTab(serverTab)
|
|
|
|
|
|
|
|
serverTab = nil
|
|
|
|
|
|
|
|
|
|
|
|
local npcTab = consoleTabBar:getTab('NPCs')
|
|
|
|
local npcTab = consoleTabBar:getTab('NPCs')
|
|
|
|
if npcTab then
|
|
|
|
if npcTab then
|
|
|
|
consoleTabBar:removeTab(npcTab)
|
|
|
|
consoleTabBar:removeTab(npcTab)
|
|
|
|
|
|
|
|
npcTab = nil
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if violationReportTab then
|
|
|
|
if violationReportTab then
|
|
|
|