mirror of
https://github.com/daveth/makespherical.git
synced 2025-03-04 03:12:59 -05:00
I'm an idiot, hotfix'd again
This commit is contained in:
parent
4c2c6ab882
commit
5b2489789e
@ -54,6 +54,7 @@ function MakeSphere( Ply, Ent, Data )
|
||||
|
||||
if not Data.mass then
|
||||
|
||||
print( "Legacy Dupe" )
|
||||
local OBB = Ent:OBBMaxs() - Ent:OBBMins()
|
||||
if not Ent.noradius then Ent.noradius = math.max( OBB.x, OBB.y, OBB.z) / 2 end
|
||||
|
||||
@ -158,6 +159,8 @@ hook.Add( "AdvDupe_FinishPasting", "MakeSphericalFixLegacyDupes", function()
|
||||
MakeSphere( unpack( v ) )
|
||||
|
||||
end
|
||||
|
||||
LegacyProcessQue = {}
|
||||
|
||||
end )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user