Temp fix to squelch errors on reload

This commit is contained in:
William Moodhe / JetBoom 2016-01-25 16:35:14 -05:00
parent 0815a48e42
commit dae0b072c6

View file

@ -67,6 +67,10 @@ function meta:ApplyPlayerProperties(ply)
self:SetSkin( ply:GetSkin() or 1 ) self:SetSkin( ply:GetSkin() or 1 )
end end
function meta:RestartGesture(act)
-- was previously deprecated. will update later, this is to stop errors.
end
function meta:GetVolume() function meta:GetVolume()
local mins, maxs = self:OBBMins(), self:OBBMaxs() local mins, maxs = self:OBBMins(), self:OBBMaxs()
return (maxs.x - mins.x) + (maxs.y - mins.y) + (maxs.z - mins.z) return (maxs.x - mins.x) + (maxs.y - mins.y) + (maxs.z - mins.z)