mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user