diff --git a/src/client/component/getinfo.cpp b/src/client/component/getinfo.cpp index 43ca4196..b40c902a 100644 --- a/src/client/component/getinfo.cpp +++ b/src/client/component/getinfo.cpp @@ -118,6 +118,7 @@ namespace getinfo info.set("hc", std::to_string(game::Com_GametypeSettings_GetUInt("hardcoremode", false))); info.set("modName", workshop::get_mod_resized_name()); info.set("modId", workshop::get_mod_publisher_id()); + info.set("rounds_played", std::to_string(*game::level_rounds_played)); info.set("shortversion", SHORTVERSION); network::send(target, "infoResponse", info.build(), '\n'); diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 3727e3aa..3c862444 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -218,6 +218,7 @@ namespace game WEAK symbol g_entities{0x0, 0x1471031B0}; WEAK symbol level_time{0x0, 0x1474FDC94}; + WEAK symbol level_rounds_played{0x14A55BDEC, 0x1475097BC}; WEAK symbol ip_socket{0x157E75818, 0x14A640988};