mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
fix warnings and some reloading issues
This commit is contained in:
@@ -126,6 +126,8 @@ function Outfit.terminate()
|
||||
disconnect(g_game, { onOpenOutfitWindow = Outfit.create,
|
||||
onGameEnd = Outfit.destroy })
|
||||
Outfit.destroy()
|
||||
|
||||
Outfit = nil
|
||||
end
|
||||
|
||||
function Outfit.create(creature, outfitList)
|
||||
|
@@ -4,6 +4,9 @@ Module
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
dependencies:
|
||||
- game
|
||||
|
||||
@onLoad: |
|
||||
dofile 'outfit'
|
||||
Outfit.init()
|
||||
|
Reference in New Issue
Block a user