add slot command

This commit is contained in:
Chris Forbes
2010-08-24 16:57:14 +12:00
parent 8ec16fdbbe
commit 3428b3c4c2
3 changed files with 62 additions and 9 deletions

View File

@@ -372,6 +372,16 @@ namespace OpenRA.Server
SyncLobbyInfo();
return true;
}},
{ "slot",
s =>
{
int slot;
if (!int.TryParse(s, out slot)) { Log.Write("server", "Invalid slot: {0}", s ); return false; }
GetClient(conn).Slot = slot;
SyncLobbyInfo();
return true;
}},
{ "map",
s =>
{