This commit is contained in:
aozhiwei 2024-02-02 17:26:21 +08:00
parent b24c5768fa
commit af84f142b1

View File

@ -3396,17 +3396,20 @@ void Room::GMFastForward()
} }
}); });
GetIncubator()->Clear(5); GetIncubator()->Clear(5);
for (auto& pair : human_hash_) { TraverseHumanList
if (pair.second->IsAndroid() && (
!a8::HasBitFlag(pair.second->status, CS_Disable)) { [] (Human* ele_hum) -> bool
Human* hum = pair.second; {
if (ele_hum->IsAndroid() &&
!a8::HasBitFlag(ele_hum->status, CS_Disable)) {
Human* hum = ele_hum;
hum->BeKill(VP_Gas, hum->BeKill(VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"), TEXT("battle_server_killer_gas", "毒圈"),
VW_Gas, VW_Gas,
VP_Gas, VP_Gas,
TEXT("battle_server_killer_gas", "毒圈")); TEXT("battle_server_killer_gas", "毒圈"));
} }
} });
xtimer.SetTimeoutEx xtimer.SetTimeoutEx
( (
1, 1,