mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 22:01:29 +00:00
fix(esx_multicharacter): correct the chin_3 typo in the default skins
Both default skins spell the chin width key chin_13. skinchanger only knows chin_1 through chin_4, so the value never reaches the ped and the key is stored as junk in users.skin. It also breaks the ped. SetFace reads every feature through Normalise(weight, 10), which divides, so a missing chin_3 raises "attempt to perform arithmetic on a nil value" at feature index 17. Everything after that in ApplySkin is skipped: the remaining features, the eye colour, the head overlays, the components and the props.
This commit is contained in:
@@ -48,7 +48,7 @@ else
|
||||
jaw_2 = 0,
|
||||
chin_1 = 0,
|
||||
chin_2 = 0,
|
||||
chin_13 = 0,
|
||||
chin_3 = 0,
|
||||
chin_4 = 0,
|
||||
neck_thickness = 0,
|
||||
hair_1 = 76,
|
||||
@@ -147,7 +147,7 @@ else
|
||||
jaw_2 = 0,
|
||||
chin_1 = -10,
|
||||
chin_2 = 10,
|
||||
chin_13 = -10,
|
||||
chin_3 = -10,
|
||||
chin_4 = 0,
|
||||
neck_thickness = -5,
|
||||
hair_1 = 43,
|
||||
|
||||
Reference in New Issue
Block a user