Do not fatal cause of missing spr/dat anymore.

This commit is contained in:
Henrique Santiago
2012-08-09 19:54:03 -03:00
parent 10c564f90e
commit e27423660c
4 changed files with 24 additions and 13 deletions

View File

@@ -37,11 +37,6 @@ function Client.init()
g_window.setIcon(resolvepath('clienticon.png'))
g_keyboard.bindKeyDown('Ctrl+Shift+R', Client.reloadScripts)
-- load default client version
local clientVersion = g_settings.getInteger('client-version')
if not clientVersion or clientVersion == 0 then clientVersion = 960 end
g_game.setClientVersion(clientVersion)
connect(g_app, { onRun =
function()
-- Play startup music (The Silver Tree, by Mattias Westlund)