summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2012-09-26 20:16:57 +0000
committerzuu <zuu@openttd.org>2012-09-26 20:16:57 +0000
commitf10c54633b043fe3d9e6ce90ddedc8600467cf14 (patch)
tree4735aadd8ec8f19f3bd96b5669f193f869658de8
parent7e1c033c3f5142fd9f90221c214a1d05c2cb6468 (diff)
downloadopenttd-f10c54633b043fe3d9e6ce90ddedc8600467cf14.tar.xz
(svn r24559) -Fix (24542): Blocking script debug on non-dedicated servers is a not too much
-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();