Changes to the RestartGame function to make it more streamlined
Removal of PromptAbortAction and inclusion into PromptConfirmAction Changes to prevent a restart button being required for all mods ConfirmAction Addtion of named parameters to PromptConfirmAction Moved StartGame from MissionBrowserLogic.cs to Game.cs
This commit is contained in:
@@ -69,6 +69,9 @@ namespace OpenRA.Network
|
||||
|
||||
public void Receive(int clientID, byte[] data)
|
||||
{
|
||||
if (disposed) // TODO: This can be removed once NetworkConnection is fixed to dispose properly.
|
||||
return;
|
||||
|
||||
if (preStartBuffer != null && IsGameStart(data))
|
||||
{
|
||||
writer.Flush();
|
||||
|
||||
Reference in New Issue
Block a user