Skip to content

Commit

Permalink
turtle api should have periods in decimal numbers >_<
Browse files Browse the repository at this point in the history
  • Loading branch information
dit-zy committed Sep 15, 2024
1 parent 7db3022 commit 7745c0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ScoutHelper/Models/Http/TurtleTrainUpdateMark.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Globalization;
using FFXIVClientStructs.FFXIV.Common.Math;
using Newtonsoft.Json;

Expand All @@ -15,7 +16,7 @@ public TurtleTrainUpdateMark(uint zoneId, uint? instance, uint mobId, Vector2 po
ZoneId = zoneId;
Instance = (uint)((instance ?? 0) < 1 ? 1 : instance!);
MobId = mobId;
X = position.X.ToString("F2");
Y = position.Y.ToString("F2");
X = position.X.ToString("F2", CultureInfo.InvariantCulture);
Y = position.Y.ToString("F2", CultureInfo.InvariantCulture);
}
}

0 comments on commit 7745c0a

Please sign in to comment.