Fix IDE0062

This commit is contained in:
RoosterDragon
2023-04-05 19:13:22 +01:00
committed by Pavel Penev
parent 023d80b94d
commit cbd0583289
5 changed files with 6 additions and 6 deletions

View File

@@ -307,7 +307,7 @@ namespace OpenRA.Mods.Common.Pathfinder
/// </summary>
void BuildGrids()
{
Grid GetCPosBounds(Map map)
static Grid GetCPosBounds(Map map)
{
if (map.Grid.Type == MapGridType.RectangularIsometric)
{
@@ -369,7 +369,7 @@ namespace OpenRA.Mods.Common.Pathfinder
}
}
CPos AbstractCellForLocalCells(List<CPos> cells, byte layer)
static CPos AbstractCellForLocalCells(List<CPos> cells, byte layer)
{
var minX = int.MaxValue;
var minY = int.MaxValue;

View File

@@ -692,7 +692,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
header.Get<LabelWidget>("LABEL").GetText = () => headerTitle;
rows.Add(header);
int ListOrder(GameServer g)
static int ListOrder(GameServer g)
{
// Servers waiting for players are always first
if (g.State == (int)ServerState.WaitingPlayers && g.Players > 0)