changed string literal to %u
This commit is contained in:
parent
d4f91ef3a6
commit
f605288954
@ -113,7 +113,7 @@ namespace getinfo
|
||||
info.set("gamemode", utils::string::va("%i", Com_SessionMode_GetGameMode()));
|
||||
info.set("sv_running", utils::string::va("%i", game::is_server_running()));
|
||||
info.set("dedicated", utils::string::va("%i", game::is_server() ? 1 : 0));
|
||||
info.set("hc", utils::string::va("%i", game::Com_GametypeSettings_GetUInt("hardcoremode", false)));
|
||||
info.set("hc", utils::string::va("%u", game::Com_GametypeSettings_GetUInt("hardcoremode", false)));
|
||||
info.set("shortversion", SHORTVERSION);
|
||||
|
||||
network::send(target, "infoResponse", info.build(), '\n');
|
||||
|
Loading…
Reference in New Issue
Block a user