We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b68c814 commit 44f147aCopy full SHA for 44f147a
Mappy/Controllers/IntegrationsController.cs
@@ -169,8 +169,13 @@ public void OpenOccupiedMap()
169
private static void CenterOnMarker(MapMarkerBase marker) {
170
var coordinates = new Vector2(marker.X, marker.Y) / 16.0f * DrawHelpers.GetMapScaleFactor() - DrawHelpers.GetMapOffsetVector();
171
172
- System.MapWindow.ProcessingCommand = true;
+ System.SystemConfig.FollowPlayer = false;
173
System.MapRenderer.DrawOffset = -coordinates;
174
+
175
+ // If the map isn't open, we want to force it to not center on whatever the user decided and center on our markers instead.
176
+ if (!System.MapWindow.IsOpen) {
177
+ System.MapWindow.ProcessingCommand = true;
178
+ }
179
}
180
181
public static bool ShouldShowMap() {
0 commit comments