Disallow same/similar colors (fixes #2820)

This commit is contained in:
Tiago Sousa
2014-08-05 01:32:31 +01:00
parent 921d77f825
commit ce68d67f0b
10 changed files with 336 additions and 74 deletions

View File

@@ -27,13 +27,13 @@ namespace OpenRA.Server
int TickTimeout { get; }
}
public abstract class ServerTrait {}
public abstract class ServerTrait { }
public class DebugServerTrait : ServerTrait, IInterpretCommand, IStartGame, INotifySyncLobbyInfo, INotifyServerStart, INotifyServerShutdown, IEndGame
{
public bool InterpretCommand(Server server, Connection conn, Session.Client client, string cmd)
{
Console.WriteLine("Server received command from player {1}: {0}",cmd, conn.PlayerIndex);
Console.WriteLine("Server received command from player {1}: {0}", cmd, conn.PlayerIndex);
return false;
}