mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Fix lua error. Fixes: #2332
This commit is contained in:
parent
ef22f19b45
commit
571fd03d71
@ -145,12 +145,11 @@ function MakeWireHydraulicController( pl, Pos, Ang, model, MyEntId, const, rope
|
||||
else
|
||||
controller.MyId = controller:EntIndex()
|
||||
const.MyCrtl = controller:EntIndex()
|
||||
controller:SetConstraint( const )
|
||||
controller:SetConstraint( const, rope )
|
||||
controller:DeleteOnRemove( const )
|
||||
end
|
||||
|
||||
if rope then
|
||||
controller:SetRope( rope )
|
||||
controller:DeleteOnRemove( rope )
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user