smol cleanup

This commit is contained in:
Jonny_Bro (Nikita) 2023-11-12 14:39:19 +05:00
parent e2d2853f19
commit da056be0c2

View file

@ -619,6 +619,7 @@ if SERVER then
a:Spawn() a:Spawn()
local phys = a:GetPhysicsObject() local phys = a:GetPhysicsObject()
if IsValid(phys) then if IsValid(phys) then
phys:EnableMotion(false) phys:EnableMotion(false)
phys:Sleep() phys:Sleep()