position is now center, socket improvements
This commit is contained in:
parent
40eba7a7c7
commit
d4d0abd013
1 changed files with 129 additions and 101 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue