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:
@@ -1126,7 +1126,7 @@ function ENT:CreateCouple(pos,ang,forward,typ)
|
|||||||
table.insert(self.JointPositions,index,x)
|
table.insert(self.JointPositions,index,x)
|
||||||
-- Constraint bogey to the train
|
-- Constraint bogey to the train
|
||||||
if self.NoPhysics then
|
if self.NoPhysics then
|
||||||
bogey:SetParent(coupler)
|
coupler:SetParent(self)
|
||||||
else
|
else
|
||||||
constraint.AdvBallsocket(
|
constraint.AdvBallsocket(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user