1
0
Fork 0

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

pull/10424/head
Loïc Guilloux 2023-01-02 02:13:16 +01:00 committed by Michael Lutz
parent 2414cf0e8f
commit b211a88b71
1 changed files with 3 additions and 0 deletions

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;