Remove code until scheduler is fixed, use chai script to manage bots

This commit is contained in:
FutureRave 2022-03-10 15:05:24 +00:00
parent 8cbd353e15
commit 51df102d51
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -99,21 +99,6 @@ void test_clients::spawn()
return;
game::native::Scr_AddEntityNum(ent->s.number, 0);
scheduler::once([ent]()
{
game::native::Scr_AddString("autoassign");
game::native::Scr_AddString("team_marinesopfor");
game::native::Scr_Notify(ent, static_cast<std::uint16_t>(game::native::SL_GetString("menuresponse", 0)), 2);
scheduler::once([ent]()
{
const auto string = std::format("class{}", std::to_string(std::rand() % 5));
game::native::Scr_AddString(string.data());
game::native::Scr_AddString("changeclass");
game::native::Scr_Notify(ent, static_cast<std::uint16_t>(game::native::SL_GetString("menuresponse", 0)), 2);
});
});
}
void test_clients::scr_shutdown_system_mp_stub(unsigned char sys)