Use expression body syntax
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Server
|
||||
public int MostRecentFrame = 0;
|
||||
public bool Validated;
|
||||
|
||||
public long TimeSinceLastResponse { get { return Game.RunTime - lastReceivedTime; } }
|
||||
public long TimeSinceLastResponse => Game.RunTime - lastReceivedTime;
|
||||
public bool TimeoutMessageShown = false;
|
||||
long lastReceivedTime = 0;
|
||||
|
||||
|
||||
@@ -78,8 +78,8 @@ namespace OpenRA.Server
|
||||
|
||||
public ServerState State
|
||||
{
|
||||
get { return internalState; }
|
||||
protected set { internalState = value; }
|
||||
get => internalState;
|
||||
protected set => internalState = value;
|
||||
}
|
||||
|
||||
public static void SyncClientToPlayerReference(Session.Client c, PlayerReference pr)
|
||||
|
||||
Reference in New Issue
Block a user