position is now center, socket improvements

This commit is contained in:
Vinzenz Schroeter 2024-04-13 14:07:14 +02:00
commit d4d0abd013

View file

@ -44,9 +44,6 @@ internal sealed class SpawnNewTanks(
}
var min = candidates.MaxBy(kvp => kvp.Value).Key;
return new FloatPosition(
min.X * MapService.TileSize,
min.Y * MapService.TileSize
);
return min.ToPixelPosition().GetPixelRelative(4, 4).ToFloatPosition();
}
}
}