1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

SetParent fix

This commit is contained in:
ImSmileDoge
2022-04-19 11:18:23 +03:00
parent f569694527
commit d9b1fcc20a

View File

@@ -1126,7 +1126,7 @@ function ENT:CreateCouple(pos,ang,forward,typ)
table.insert(self.JointPositions,index,x)
-- Constraint bogey to the train
if self.NoPhysics then
bogey:SetParent(coupler)
coupler:SetParent(self)
else
constraint.AdvBallsocket(
self,