diff --git a/server/gameserver/incubator.cc b/server/gameserver/incubator.cc index fbf6a77..a969987 100644 --- a/server/gameserver/incubator.cc +++ b/server/gameserver/incubator.cc @@ -206,6 +206,7 @@ void Incubator::ActiveAndroid(Human* hum, Human* android) for (auto itr = hold_humans_.begin(); itr != hold_humans_.end(); ++itr) { if (*itr == android) { hold_humans_.erase(itr); + break; } } #ifdef DEBUG