From 84b7634a85d0474d83af7002ee7639cf421686bf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Apr 2016 15:49:23 +0300 Subject: Add option for enable/disable remote commands. In tmw remote commands disabled by default. --- src/settings.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/settings.h') diff --git a/src/settings.h b/src/settings.h index 3007e5a10..8fc826ed0 100644 --- a/src/settings.h +++ b/src/settings.h @@ -82,7 +82,8 @@ class Settings final pseudoAwayMode(false), fixDeadAnimation(true), disableLoggingInGame(false), - legacyEffects(true) + legacyEffects(true), + enableRemoteCommands(true) { } std::string updateHost; @@ -135,6 +136,7 @@ class Settings final bool fixDeadAnimation; bool disableLoggingInGame; bool legacyEffects; + bool enableRemoteCommands; }; extern Settings settings; -- cgit v1.2.3-60-g2f50