summaryrefslogtreecommitdiffstats
path: root/src/server/net/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/net/client.cpp')
-rw-r--r--src/server/net/client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/net/client.cpp b/src/server/net/client.cpp
index 82ebf26..7f94983 100644
--- a/src/server/net/client.cpp
+++ b/src/server/net/client.cpp
@@ -323,7 +323,10 @@ bool Client::isManagerMachine()
/******************************************************************************/
void Client::lockScreen(bool lock)
{
- if (!_isTutor && _locked != lock && !isManagerMachine()) {
+ if (_isTutor || isManagerMachine()) {
+ lock = false;
+ }
+ if (_locked != lock) {
_locked = lock;
NetworkMessage msg;
msg.setField(_ID, _LOCK);