领取宝箱

This commit is contained in:
mamengke01
2021-01-11 18:07:56 +08:00
parent 35e89aeb01
commit 81d51c6099
5 changed files with 6 additions and 6 deletions

View File

@@ -390,7 +390,7 @@ export class PvpHandler {
if (hisScore < pvpBox.score) {
return resResult(STATUS.PVP_NOT_REACH_BOX_SCORE);
}
if (_.indexOf(receivedBox, id) != -1 ) {
if (receivedBox.indexOf(id) != -1 ) {
return resResult(STATUS.PVP_BOX_IS_GOT);
}
receivedBox.push(id);