summaryrefslogtreecommitdiff
path: root/src/script/api/script_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_controller.cpp')
-rw-r--r--src/script/api/script_controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp
index e344f6edd..f74923739 100644
--- 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();