fix
parent
4f2b52a685
commit
b74d2b13b6
|
@ -162,6 +162,7 @@ public class MapLogic {
|
|||
//todo 更新地圖次數
|
||||
mapManager.setCurMapId(mapId);
|
||||
if (type == 2) {
|
||||
user.getUserMissionManager().onGameEvent(user,GameEvent.COPY_TOWER_TIMES,1);
|
||||
initTrialMap(mapManager, user);
|
||||
} else {
|
||||
initMap(mapManager, user);
|
||||
|
@ -2335,7 +2336,7 @@ public class MapLogic {
|
|||
int star = crossInfo.getStars().size();
|
||||
totalStar += star;
|
||||
}
|
||||
if (totalStar <= sChallengeStarBox.getStarNum()){
|
||||
if (totalStar < sChallengeStarBox.getStarNum()){
|
||||
LOGGER.info("totalStar less sChallengeStarBox.getStarNum totalStar is {} uid=>{}, id=>{}", totalStar,session.getUid(), id);
|
||||
MessageUtil.sendErrorResponse(session, 0, messageType.getNumber(), "");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue