# HG changeset patch # User zuu # Date 2012-09-26 20:16:57 # Node ID 9313ddb106935296dff8f74e966b7d1b8a2dd3a9 # Parent 4a030e5a6c578c5f6ec849c03e15b8fe4940855c (svn r24559) -Fix (24542): Blocking script debug on non-dedicated servers is a not too much diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp --- a/src/script/api/script_controller.cpp +++ b/src/script/api/script_controller.cpp @@ -46,7 +46,7 @@ /* static */ bool ScriptController::Break(const char* message) { - if (!_network_dedicated || !_settings_client.gui.ai_developer_tools) return false; + if (_network_dedicated || !_settings_client.gui.ai_developer_tools) return false; ScriptObject::GetActiveInstance()->Pause();