Preload properly with g_textures.preload

* Thanks Baxnie for advising me of this method :)
This commit is contained in:
BeniS
2013-02-23 19:16:42 +13:00
parent f4f9e319d8
commit 039c3072dc
3 changed files with 16 additions and 6 deletions

View File

@@ -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