hedgewars/uIO.pas
changeset 4389 d1c65b60cd68
parent 4377 43945842da0c
child 4403 0dfe26f48ec1
--- a/hedgewars/uIO.pas	Sat Nov 20 23:20:46 2010 +0300
+++ b/hedgewars/uIO.pas	Sat Nov 20 23:48:04 2010 +0300
@@ -47,7 +47,7 @@
 procedure NetGetNextCmd;
 
 implementation
-uses uConsole, uConsts, uLand, uChat, uTeams, uVariables, uCommands, uUtils;
+uses uConsole, uConsts, uChat, uTeams, uVariables, uCommands, uUtils;
 
 type PCmd = ^TCmd;
      TCmd = packed record
@@ -154,7 +154,7 @@
      'e': ParseCommand(copy(s, 2, Length(s) - 1), true);
      'E': OutError(copy(s, 2, Length(s) - 1), true);
      'W': OutError(copy(s, 2, Length(s) - 1), false);
-     'M': CheckLandDigest(s);
+     'M': ParseCommand('landcheck ' + s, true);
      'T': case s[2] of
                'L': GameType:= gmtLocal;
                'D': GameType:= gmtDemo;