Skip to content

Commit

Permalink
Merge pull request #1511 from Kenshiin13/fix-skin
Browse files Browse the repository at this point in the history
fix(esx_skin/client/modules/menu): immediately update texture variati…
  • Loading branch information
Kenshiin13 authored Nov 27, 2024
2 parents 95497ef + 016b9bb commit ef77e5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions [core]/esx_skin/client/modules/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ function Menu:Change(data, menu)
end
self.elements[i].value = 0

-- Change skin element
exports["skinchanger"]:Change(element.name, 0)
skin[element.name] = data.current.value

menu.update({ name = self.elements[i].name }, self.elements[i])
menu.refresh()
break
Expand Down

0 comments on commit ef77e5a

Please sign in to comment.