Skip to content

Commit

Permalink
Update offset on event. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnwop committed Mar 2, 2019
1 parent 8598468 commit d497c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vehicles/GlobalPositioningSystem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ function GlobalPositioningSystem:onUpdateGuidanceData(guidanceData)
local spec = self:guidanceSteering_getSpecTable("globalPositioningSystem")
local data = spec.guidanceData
data.width = guidanceData.width
data.offsetWidth = guidanceData.offsetWidth
data.snapDirectionMultiplier = guidanceData.snapDirectionMultiplier
data.snapDirection = guidanceData.snapDirection
data.alphaRad = guidanceData.alphaRad
Expand Down

0 comments on commit d497c2b

Please sign in to comment.