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;
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user