Move private methods to the bottom.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
148cd911d5
commit
59ecb8d8a3
@@ -63,20 +63,6 @@ namespace OpenRA.Mods.Common.Server
|
||||
volatile bool isBusy;
|
||||
readonly Queue<string> masterServerMessages = [];
|
||||
|
||||
void CreateLanGameBeacon()
|
||||
{
|
||||
try
|
||||
{
|
||||
lanGameBeacon?.Stop();
|
||||
lanGameBeacon = new Beacon("OpenRALANGame", LanAdvertisePort);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
lanGameBeacon = null;
|
||||
Log.Write("server", "BeaconLib.Beacon: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public void Tick(S server)
|
||||
{
|
||||
if (!server.IsMultiplayer)
|
||||
@@ -212,5 +198,19 @@ namespace OpenRA.Mods.Common.Server
|
||||
isBusy = false;
|
||||
});
|
||||
}
|
||||
|
||||
void CreateLanGameBeacon()
|
||||
{
|
||||
try
|
||||
{
|
||||
lanGameBeacon?.Stop();
|
||||
lanGameBeacon = new Beacon("OpenRALANGame", LanAdvertisePort);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
lanGameBeacon = null;
|
||||
Log.Write("server", "BeaconLib.Beacon: " + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user