This commit is contained in:
aozhiwei 2024-01-26 14:49:54 +08:00
parent a4f3cc0a9a
commit 698911edbf

View File

@ -87,16 +87,22 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
room->stop_world = false;
} else if (cmd == "chiji") {
#if MYDEBUG
room->debug_params[119] = 1;
room->xtimer.SetTimeoutEx
(1,
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
room->GetIncubator()->ShowHand();
}
},
&xtimer_attacher);
if (room->IsMobaModeRoom()) {
while (!room->GetVictoryTeam()) {
GetTeam()->IncKillCount();
}
} else {
room->debug_params[119] = 1;
room->xtimer.SetTimeoutEx
(1,
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
room->GetIncubator()->ShowHand();
}
},
&xtimer_attacher);
}
#endif
} else if (cmd == "disable_gas_damage") {
#if MYDEBUG