1
This commit is contained in:
parent
3981969dfd
commit
7be2b923d7
@ -502,7 +502,7 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
|||||||
SendDebugMsg("数值: " + str);
|
SendDebugMsg("数值: " + str);
|
||||||
}
|
}
|
||||||
} else if (cmd == "moba_pingju" && cmds.size() >= 0) {
|
} else if (cmd == "moba_pingju" && cmds.size() >= 0) {
|
||||||
if (room->IsMobaModeRoom() && !room->IsGameOver()) {
|
if (room->IsMobaModeRoom() && !room->IsGameOver() && room->GetMobaOvertimeRaceFrameNo() <= 0) {
|
||||||
room->TraverseTeams
|
room->TraverseTeams
|
||||||
(
|
(
|
||||||
[] (Team* team) -> bool
|
[] (Team* team) -> bool
|
||||||
@ -510,7 +510,7 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
|||||||
team->SetKillCount(5);
|
team->SetKillCount(5);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
room->xtimer.Delete(room->moba_over_timer);
|
room->xtimer.ModifyTime(room->moba_over_timer, 0);
|
||||||
}
|
}
|
||||||
} else if (cmd == "findpath" && cmds.size() >= 3) {
|
} else if (cmd == "findpath" && cmds.size() >= 3) {
|
||||||
float x = a8::XValue(cmds[1]).GetDouble();
|
float x = a8::XValue(cmds[1]).GetDouble();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user