Pass the client into InterpretCommand
This commit is contained in:
@@ -263,7 +263,7 @@ namespace OpenRA.Server
|
||||
{
|
||||
bool handled = false;
|
||||
foreach (var t in ServerTraits.WithInterface<IInterpretCommand>())
|
||||
if ((handled = t.InterpretCommand(conn, so.Data)))
|
||||
if ((handled = t.InterpretCommand(conn, GetClient(conn), so.Data)))
|
||||
break;
|
||||
|
||||
if (!handled)
|
||||
|
||||
Reference in New Issue
Block a user