diff options
Diffstat (limited to 'src/net/ea/playerrecv.cpp')
-rw-r--r-- | src/net/ea/playerrecv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp index 384f9aa16..a8b838a3f 100644 --- a/src/net/ea/playerrecv.cpp +++ b/src/net/ea/playerrecv.cpp @@ -24,6 +24,7 @@ #include "game.h" #include "notifymanager.h" +#include "settings.h" #include "soundmanager.h" #include "being/localplayer.h" @@ -246,6 +247,9 @@ void PlayerRecv::processPlayerClientCommand(Net::MessageIn &msg) std::string cmd; std::string args; + if (settings.awayMode || settings.pseudoAwayMode) + return; + if (!parse2Str(command, cmd, args)) { cmd = command; |