diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas
index 816673a180455a7289cd40b3332b97b40a39cad7..f3b095591d8b08a94c4296b2360403a1ed88506c 100644 (file)
--- a/src/game/g_netmsg.pas
+++ b/src/game/g_netmsg.pas
implementation
uses
- {$IFNDEF HEADLESS}
+ {$IFDEF ENABLE_MENU}
g_gui,
{$ENDIF}
Math, ENet, e_input, e_log, g_base, g_basic,
kByte := 0;
Predict := NetPredictSelf; // and (not NetGotKeys);
-{$IFDEF HEADLESS}
+{$IFDEF DISABLE_MENU}
if (not gConsoleShow) and (not gChatShow) then
{$ELSE}
if (not gConsoleShow) and (not gChatShow) and (g_ActiveWindow = nil) then