mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixes issue when putting on clothes
This commit is contained in:
@@ -78,8 +78,8 @@ class ClothesMartAdapter < OutfitsMartAdapter
|
||||
end
|
||||
|
||||
def putOnOutfit(item)
|
||||
putOnClothes(item.id)
|
||||
@worn_clothes = item.id
|
||||
putOnClothes(item.id) if item
|
||||
@worn_clothes = item.id if item
|
||||
end
|
||||
|
||||
def reset_player_clothes()
|
||||
|
||||
@@ -9,7 +9,7 @@ class ClothesShopPresenter < PokemonMartScreen
|
||||
end
|
||||
|
||||
def putOnClothes(item)
|
||||
@adapter.putOnOutfit(item)
|
||||
@adapter.putOnOutfit(item) if item
|
||||
@scene.pbEndBuyScene
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user