This commit is contained in:
aozhiwei 2024-08-30 10:38:17 +08:00
parent 782022e6d6
commit 4a7ac10d23

View File

@ -675,7 +675,7 @@ void Incubator::StartNewBattleMode()
auto invisable_teammates = std::make_shared<std::vector<Human*>>();
room->xtimer.SetIntervalWpEx
(
SERVER_FRAME_RATE * (3 + rand() % 2),
SERVER_FRAME_RATE * (4 + rand() % 3),
[this, selected_player, invisable_humans, invisable_teammates] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {