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; room->stop_world = false;
} else if (cmd == "chiji") { } else if (cmd == "chiji") {
#if MYDEBUG #if MYDEBUG
room->debug_params[119] = 1; if (room->IsMobaModeRoom()) {
room->xtimer.SetTimeoutEx while (!room->GetVictoryTeam()) {
(1, GetTeam()->IncKillCount();
[this] (int event, const a8::Args* args) }
{ } else {
if (a8::TIMER_EXEC_EVENT == event) { room->debug_params[119] = 1;
room->GetIncubator()->ShowHand(); room->xtimer.SetTimeoutEx
} (1,
}, [this] (int event, const a8::Args* args)
&xtimer_attacher); {
if (a8::TIMER_EXEC_EVENT == event) {
room->GetIncubator()->ShowHand();
}
},
&xtimer_attacher);
}
#endif #endif
} else if (cmd == "disable_gas_damage") { } else if (cmd == "disable_gas_damage") {
#if MYDEBUG #if MYDEBUG