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

pull/474/head
Loïc Guilloux 1 year ago committed by GitHub
parent 150f05dc15
commit 91ca088065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save