diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas
index bc7f7c98c52bf1f62494a22b1951117d472a537e..759f4b6bd963964b6c9d76524fd178902881091b 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