diff --git a/server/gameserver/commands.cc b/server/gameserver/commands.cc index 3287f552..43a99f36 100644 --- a/server/gameserver/commands.cc +++ b/server/gameserver/commands.cc @@ -110,6 +110,9 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg) } else if (cmd == "!chiji") { if (room->IsMobaModeRoom()) { Team* team = room->GetMobaTeamA(); + if (team == GetTeam()) { + team = room->GetMobaTeamB(); + } while (team->GetKillCount() <100) { team->IncKillCount(); }