1
This commit is contained in:
parent
a4f3cc0a9a
commit
698911edbf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user