Add: inform clients what game-script a server is running (#9441)

Co-authored-by: The Dude <thedude@novapolis.net>
This commit is contained in:
Patric Stout
2021-07-14 21:23:44 +02:00
committed by GitHub
parent 333cba6a61
commit c921f6d817
5 changed files with 24 additions and 1 deletions

View File

@@ -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.
};
/**