Skip to content

Commit

Permalink
Fix rename booboo
Browse files Browse the repository at this point in the history
  • Loading branch information
sandermvanvliet committed Dec 5, 2023
1 parent 15739ac commit 6f03401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RoadCaptain/UseCases/HandleZwiftMessagesUseCase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void Execute(CancellationToken token)
// TODO: Figure out how to get the WorldId as quickly as possible and put it in the game state
var worldId = _route?.World?.ZwiftId ?? ZwiftWorldId.Unknown;

var gameCoordinate = new GameCoordinate(riderPosition.X, riderPosition.Y, riderPosition.Altitude, worldId);
var gameCoordinate = new GameCoordinate(riderPosition.X, riderPosition.Y, riderPosition.Z, worldId);

// Convert from Zwift game coordinates to a lat/lon coordinate
var position = gameCoordinate.ToTrackPoint();
Expand Down

0 comments on commit 6f03401

Please sign in to comment.