mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
changes for otb compability
This commit is contained in:
@@ -4,9 +4,9 @@ Module
|
||||
reloadable: false
|
||||
|
||||
@onLoad: |
|
||||
if not g_thingsType.load('/game_tibiafiles/Tibia.dat') then
|
||||
if not g_things.loadDat('/game_tibiafiles/Tibia.dat') then
|
||||
fatal(tr("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat"))
|
||||
end
|
||||
if not g_sprites.load('/game_tibiafiles/Tibia.spr') then
|
||||
if not g_sprites.loadSpr('/game_tibiafiles/Tibia.spr') then
|
||||
fatal(tr("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr"))
|
||||
end
|
||||
|
Reference in New Issue
Block a user