1
This commit is contained in:
parent
adf5ff8bc6
commit
6e5f6eff1d
@ -84,6 +84,9 @@ void Incubator::AllocAndroid(Human* target, int num, std::vector<Human*>* androi
|
||||
target->room->IsForceOver()) {
|
||||
return;
|
||||
}
|
||||
if (room->GetFrameNo() < wait_alloc_time_ * SERVER_FRAME_RATE) {
|
||||
return;
|
||||
}
|
||||
int try_count = 0;
|
||||
glm::vec3 dir = GlmHelper::UP;
|
||||
while (num > 0 && try_count < 8 && !hold_humans_.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user