diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 5559406..ef82692 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -9077,7 +9077,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 720, + "width": 705, "height": 702 }, "_anchorPoint": { diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 44c86b2..cad5995 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -314,19 +314,19 @@ export default class MapConroler extends cc.Component { } Utils.getCityRank((res) => { if (res.code === 1) { - // console.log("城市排行数据:", res.data); + console.log("城市排行数据:", res.data); if (res.data.length > 0) { for (let i = 0; i < res.data.length; i++) { if (res.data[i].addLevel <= cc.fx.GameConfig.GM_INFO.addLevel) { cc.fx.GameConfig.GM_INFO.cityRank = i + 1; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); break; } if (i == res.data.length - 1) { cc.fx.GameConfig.GM_INFO.cityRank = i + 2; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); } } } @@ -3171,18 +3171,19 @@ export default class MapConroler extends cc.Component { // alert("游戏成功"); Utils.getCityRank((res) => { if (res.code === 1) { + console.log("城市排行数据:", res.data); if (res.data.length > 0) { for (let i = 0; i < res.data.length; i++) { if (res.data[i].addLevel <= (cc.fx.GameConfig.GM_INFO.addLevel + 1)) { cc.fx.GameConfig.GM_INFO.cityRank = i + 1; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); break; } if (i == res.data.length - 1) { cc.fx.GameConfig.GM_INFO.cityRank = i + 2; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); } } } diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 7d11477..d713627 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -451,7 +451,7 @@ var GameTool = { // cc.fx.StorageMessage.setStorage("level", levelInfo); // } - let max_level = 1700; + let max_level = 1720; if (cc.fx.GameConfig.GM_INFO.level > (max_level - 1)) { cc.fx.GameConfig.GM_INFO.level = max_level;