This commit is contained in:
aozhiwei 2024-08-29 14:28:31 +08:00
parent e6a0186c3e
commit 8e8eda2591

View File

@ -22,6 +22,8 @@
#include "mt/SafeArea.h"
#include "mt/SafeAreaSafePoint.h"
static const int CHIJI_HIDE_HUMANS = 6;
void Incubator::Init()
{
#if 1
@ -98,7 +100,7 @@ void Incubator::AllocAndroid(Human* target, int num, std::vector<Human*>* androi
if (hold_humans_.size() < 1) {
return;
}
if (hold_humans_.size() <= 6) {
if (hold_humans_.size() <= CHIJI_HIDE_HUMANS) {
if (room->GetGasData().new_area_meta->GetSmallRingCount() < 4) {
ShowHand();
}
@ -564,7 +566,7 @@ void Incubator::Clear(int save_num)
void Incubator::Rearrangement()
{
if (hold_humans_.size() < 6) {
if (hold_humans_.size() < CHIJI_HIDE_HUMANS) {
return;
}
std::vector<int> teams2;