mirror of https://github.com/OpenTTD/OpenTTD
(svn r24559) -Fix (24542): Blocking script debug on non-dedicated servers is a not too much
parent
7e1c033c3f
commit
f10c54633b
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
/* static */ bool ScriptController::Break(const char* message)
|
/* 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();
|
ScriptObject::GetActiveInstance()->Pause();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue