mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Fix direction not being set after duping (#2970)
This commit is contained in:
parent
e1b30fb964
commit
a766faa2d4
@ -27,8 +27,8 @@ function ENT:Setup(fwd, bck, stop, torque, direction, axis)
|
||||
self.fwd = fwd
|
||||
self.bck = bck
|
||||
self.stop = stop
|
||||
if torque then self:SetTorque(math.max(1, torque)) end
|
||||
if direction then self:SetDirection( direction ) end
|
||||
if torque then self:SetTorque(math.max(1, torque)) end
|
||||
if axis then self.Axis = axis end
|
||||
|
||||
self:UpdateOverlayText()
|
||||
|
Loading…
Reference in New Issue
Block a user