mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix springs passing negative Color3 values
This commit is contained in:
parent
c4a0180a2f
commit
519113b946
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ local vec6_to_type = {
|
||||||
end :: Vec6ToType<CFrame>,
|
end :: Vec6ToType<CFrame>,
|
||||||
|
|
||||||
Color3 = function(v)
|
Color3 = function(v)
|
||||||
return Color3.new(v.X, v.Y, v.Z)
|
return Color3.new(math.max(v.X, 0), math.max(v.Y, 0), math.max(v.Z, 0))
|
||||||
end :: Vec6ToType<Color3>,
|
end :: Vec6ToType<Color3>,
|
||||||
|
|
||||||
UDim = function(v)
|
UDim = function(v)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue