Fix #283 and more:

* Might have fixed death window issue but not confirmed
* Stop hotkey window from display while offline
* Moved some required features to >= 840 if statement
  (protocol 840/842 arent supported in otclient yet)
This commit is contained in:
BeniS
2013-02-28 01:01:51 +13:00
parent ef20f59a98
commit 0bf909d52f
6 changed files with 24 additions and 14 deletions

View File

@@ -122,10 +122,6 @@ function EnterGame.init()
protocolBox = enterGame:getChildById('protocolComboBox')
protocolBox.onOptionChange = onChangeProtocol
for _i, proto in pairs(g_game.getSupportedProtocols()) do
protocolBox:addOption(proto)
end
if protocolVersion then
protocolBox:setCurrentOption(protocolVersion)
end

View File

@@ -57,6 +57,7 @@ EnterGameWindow
ServerListButton
id: serverListButton
!tooltip: tr('Server list')
anchors.right: parent.right
anchors.top: serverLabel.bottom
margin-top: 3
@@ -88,6 +89,10 @@ EnterGameWindow
margin-top: 2
margin-right: 3
width: 90
@onSetup: |
for _, proto in pairs(g_game.getSupportedProtocols()) do
self:addOption(proto)
end
MenuLabel
id: portLabel