Skip to content

Commit

Permalink
Update (framework): VORP - Fixed wrong convert of WaistW
Browse files Browse the repository at this point in the history
  • Loading branch information
KadDarem committed Dec 18, 2024
1 parent d564ec9 commit 2b371bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jo_libs/modules/framework-bridge/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ local skinCategoryBridge = {
Teeth = "teeth",
Torso = "bodyUpperHash",
Vest = "vests",
WaistW = "bodyWeight"
},
expressions = {
--Expressions
Expand Down Expand Up @@ -131,7 +132,6 @@ local skinCategoryBridge = {
ULiphD = "upperLipDepth",
ULiphH = "upperLipHeight",
ULiphW = "upperLipWidth",
WaistW = "waist",
},
overlays = {
acne = "acne",
Expand Down Expand Up @@ -1131,6 +1131,8 @@ end
-------------

local function convertToPercent(value)
value = tonumber(value)
if not value then return 0 end
if value > 1 or value < -1 then
return value / 100
end
Expand Down

0 comments on commit 2b371bb

Please sign in to comment.