Skip to content

Commit

Permalink
Merge pull request #221 from SentryGunMan/development
Browse files Browse the repository at this point in the history
quick fix to prevent 32-bit crashes
  • Loading branch information
SentryGunMan authored Aug 27, 2024
2 parents 933b7d4 + 5667005 commit 1016535
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/autorun/photon/cl_emv_meta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,10 @@ function EMVU:MakeEMV( emv, name )
mat:Scale( p.Scale )
prop:EnableMatrix( "RenderMultiply", mat )
elseif isnumber( p.Scale ) then
prop:SetModelScale( p.Scale, 0 )
local mat = Matrix()
local scale = Vector( p.Scale, p.Scale, p.Scale )
mat:Scale( scale )
prop:EnableMatrix( "RenderMultiply", mat )
end
prop:SetParent( emv )
prop:SetPos( emv:LocalToWorld( p.Pos ) )
Expand Down

0 comments on commit 1016535

Please sign in to comment.