1
This commit is contained in:
parent
fd75ca2301
commit
885bc6eae0
@ -348,7 +348,12 @@ void Room::ShuaAndroid()
|
||||
int refresh_time = a8::RandEx(map_meta_->refresh_robot_min_time,
|
||||
map_meta_->refresh_robot_max_time);
|
||||
if (robot_num > 0 && refresh_time > 0) {
|
||||
if (IsPvpRankModeRoom()) {
|
||||
refresh_time = a8::RandEx(10, 20);
|
||||
CreateAndroid(robot_num);
|
||||
} else {
|
||||
CreateAndroid(robot_num);
|
||||
}
|
||||
xtimer.SetTimeoutEx
|
||||
(SERVER_FRAME_RATE * refresh_time,
|
||||
[this] (int event, const a8::Args* args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user