This commit is contained in:
aozhiwei 2024-02-03 12:04:55 +08:00
parent c6430e1f35
commit 5fb3fd0acb

View File

@ -2207,14 +2207,14 @@ void Room::RandRemoveAndroid()
(
[] (Human* ele_hum) -> bool
{
ele_hum->RemovePartObjects(hum);
ele_hum->RemovePartObjects(ele_hum);
return true;
});
TraverseRawHumanList
(
[] (Human* ele_hum) -> bool
{
ele_hum->RemoveObjects(hum);
ele_hum->RemoveObjects(ele_hum);
return true;
});
frame_event.AddExitGame(hum->GetWeakPtrRef());