Skip to content

Commit

Permalink
Fix direction not being set after duping (#2970)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrb93 authored Jan 6, 2024
1 parent e1b30fb commit a766faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_wheel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a766faa

Please sign in to comment.