mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
reaname and cleanup many stuff
This commit is contained in:
@@ -175,7 +175,7 @@ function Outfit.destroy()
|
||||
end
|
||||
|
||||
function Outfit.accept()
|
||||
Game.setOutfit(m_outfit)
|
||||
g_game.changeOutfit(m_outfit)
|
||||
Outfit.destroy()
|
||||
end
|
||||
|
||||
@@ -198,5 +198,5 @@ function Outfit.previousType()
|
||||
end
|
||||
|
||||
-- hooked events
|
||||
connect(Game, { onOpenOutfitWindow = Outfit.create,
|
||||
connect(g_game, { onOpenOutfitWindow = Outfit.create,
|
||||
onGameEnd = Outfit.destroy })
|
||||
|
Reference in New Issue
Block a user