gamemode: Fix Hiders getting stuck on themselves

It seems that the physics engine allows the parent to collide with childs, but childs not with the parent. This doesn't make any sense at all.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2017-11-26 09:30:15 +01:00
parent 6fbd73b217
commit be017d3d55
@@ -66,6 +66,7 @@ function CLASS:Spawn()
self.Player.Data.Prop:SetOwner(self.Player)
self.Player.Data.Prop:Spawn()
self.Player:DeleteOnRemove(self.Player.Data.Prop)
self.Player.Data.PropContraint = constraint.NoCollide(self.Player, self.Player.Data.Prop, 0, 0)
-- Assign Hands (Auto Networked Sync!)
local oldhands = self.Player:GetHands()