活动:修改活动bug
This commit is contained in:
@@ -91,6 +91,9 @@ export class LimitPackageHandler {
|
||||
}
|
||||
|
||||
let item = playerData.findItem(id);
|
||||
if (!item) {
|
||||
return resResult(STATUS.ACTIVITY_ID_ERROR);
|
||||
}
|
||||
if (item.countMax > 0 && item.buyCount >= item.countMax) {
|
||||
return resResult(STATUS.ACTIVITY_MAX_COUNT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user