领取宝箱
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user