From c921f6d81794223590abc4ced95daba0b91e4767 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Wed, 14 Jul 2021 21:23:44 +0200 Subject: Add: inform clients what game-script a server is running (#9441) Co-authored-by: The Dude --- src/network/core/game_info.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/core/game_info.h') diff --git a/src/network/core/game_info.h b/src/network/core/game_info.h index 1ea77ae77..8d9824b18 100644 --- a/src/network/core/game_info.h +++ b/src/network/core/game_info.h @@ -76,6 +76,8 @@ struct NetworkServerGameInfo { byte spectators_on; ///< How many spectators do we have? byte spectators_max; ///< Max spectators allowed on server byte landscape; ///< The used landscape + int gamescript_version; ///< Version of the gamescript. + std::string gamescript_name; ///< Name of the gamescript. }; /** -- cgit v1.2.3-54-g00ecf