From d65849ab97404afb51f890701cc002910f940c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20N=27gadi?= Date: Sat, 5 Aug 2017 22:58:47 +0200 Subject: [PATCH] LastSex fix for loadClothes --- __resource.lua | 2 +- client/main.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__resource.lua b/__resource.lua index 9ebdaa11..5afa8772 100644 --- a/__resource.lua +++ b/__resource.lua @@ -4,4 +4,4 @@ description 'SkinChanger' client_scripts { 'client/main.lua' -} +} \ No newline at end of file diff --git a/client/main.lua b/client/main.lua index f6409523..aa9fa324 100644 --- a/client/main.lua +++ b/client/main.lua @@ -255,6 +255,6 @@ AddEventHandler('skinchanger:loadClothes', function(playerSkin, clothesSkin) LoadDefaultModel(false) end - LastSex = skin['sex'] + LastSex = playerSkin['sex'] end) \ No newline at end of file