Skip to content

Commit

Permalink
Stupid mistake ..
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Dec 18, 2024
1 parent 76e4924 commit 6741c3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gui/hud/CpBaseHud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ function CpBaseHud:init(vehicle)
self.baseHud:setPosition(CpBaseHud.x, CpBaseHud.y)
self.baseHud:setDimension(self.width, self.height)
self.baseHud:setCallback("onMove", self, function (self, _, x, y)
self.x = x
self.y = y
CpBaseHud.x = x
CpBaseHud.y = y
end)

self.fieldworkLayout = self:addHudPage(CpFieldWorkHudPageElement, vehicle)
Expand Down

0 comments on commit 6741c3d

Please sign in to comment.