diff options
author | Patric Stout <truebrain@openttd.org> | 2021-07-14 21:23:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 21:23:44 +0200 |
commit | c921f6d81794223590abc4ced95daba0b91e4767 (patch) | |
tree | 7d929eafb0c225ba74baca4633838a79be5b3c33 /src/network/core/game_info.h | |
parent | 333cba6a619d8d99a2508e5cb9cd1cc72c4360d1 (diff) | |
download | openttd-c921f6d81794223590abc4ced95daba0b91e4767.tar.xz |
Add: inform clients what game-script a server is running (#9441)
Co-authored-by: The Dude <thedude@novapolis.net>
Diffstat (limited to 'src/network/core/game_info.h')
-rw-r--r-- | src/network/core/game_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. }; /** |