diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/input.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index d3feefe..6a62fa5 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -65,6 +65,9 @@ void func_screenshot(std::string const & args) void func_ui_control(std::string const &args) { + if (!core::localcontrol()) + return; + if (cl_mousecontrol->value() > 0) { (*cl_mousecontrol) = 0.0f; } else { |