mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Preload properly with g_textures.preload
* Thanks Baxnie for advising me of this method :)
This commit is contained in:
@@ -50,7 +50,7 @@ function init()
|
||||
|
||||
-- load condition icons
|
||||
for k,v in pairs(Icons) do
|
||||
loadIcon(k):destroy()
|
||||
g_textures.preload(v.path)
|
||||
end
|
||||
|
||||
if g_game.isOnline() then
|
||||
|
Reference in New Issue
Block a user