Fix minor detail in format string

This commit is contained in:
FutureRave 2022-04-25 16:10:57 +01:00
parent 249f064f77
commit 925891f996
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -121,7 +121,7 @@ void test_clients::spawn(const int count)
scheduler::once([ent]() scheduler::once([ent]()
{ {
game::native::Scr_AddString(utils::string::va("class%u", std::rand() % 5)); game::native::Scr_AddString(utils::string::va("class%i", std::rand() % 5));
game::native::Scr_AddString("changeclass"); game::native::Scr_AddString("changeclass");
game::native::Scr_Notify(ent, static_cast<std::uint16_t>(game::native::SL_GetString("menuresponse", 0)), 2); game::native::Scr_Notify(ent, static_cast<std::uint16_t>(game::native::SL_GetString("menuresponse", 0)), 2);
}, scheduler::pipeline::server, 2s); }, scheduler::pipeline::server, 2s);