1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

Fix #10304, fe30f66: [Scripts] Don't start GS in intro (#10305)

This commit is contained in:
Loïc Guilloux
2023-01-02 02:13:16 +01:00
committed by Michael Lutz
parent 2414cf0e8f
commit b211a88b71

View File

@@ -73,6 +73,9 @@
{
if (Game::instance != nullptr) return;
/* Don't start GameScripts in intro */
if (_game_mode == GM_MENU) return;
/* Clients shouldn't start GameScripts */
if (_networking && !_network_server) return;