1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49: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 GitHub
parent 150f05dc15
commit 91ca088065

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;