stop players from flying off with other players's spawn pad

This commit is contained in:
edshot99 2024-03-08 16:04:09 -06:00
parent b36f49c837
commit 64ca700964

View File

@ -38,6 +38,7 @@ function ENT:Initialize()
self.Entity:DrawShadow(false)
self.Entity:SetMaxHealth(5)
self.Entity:SetHealth(5)
self.Entity:SetOwner(game.GetWorld())
self.HealthAmnt = GetConVar( "personal_spawn_pad_hp" ):GetInt()
local phys = self.Entity:GetPhysicsObject()