mirror of
https://github.com/edubart/otclient.git
synced 2025-10-21 23:05:54 +02:00
Use client version instead of entergame
This commit is contained in:
@@ -104,11 +104,6 @@ function terminate()
|
||||
g_settings.set('window-size', g_window.getUnmaximizedSize())
|
||||
g_settings.set('window-pos', g_window.getUnmaximizedPos())
|
||||
g_settings.set('window-maximized', g_window.isMaximized())
|
||||
|
||||
local protocolVersion = g_game.getProtocolVersion()
|
||||
if protocolVersion ~= 0 then
|
||||
g_settings.set('protocol-version', protocolVersion)
|
||||
end
|
||||
end
|
||||
|
||||
function exit()
|
||||
|
Reference in New Issue
Block a user