mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-04 10:17:08 +01:00
(svn r24559) -Fix (24542): Blocking script debug on non-dedicated servers is a not too much
This commit is contained in:
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
Block a user