|
@@ -4,6 +4,7 @@ const { RoomState, GameNotificationKey, LevelHomeArtistItemStyle } = require("..
|
|
const GameModule = require("../utils/GameModule");
|
|
const GameModule = require("../utils/GameModule");
|
|
const ThemeManager = require("../utils/ThemeManger");
|
|
const ThemeManager = require("../utils/ThemeManger");
|
|
const HomeApi = require("../net/HomeApi");
|
|
const HomeApi = require("../net/HomeApi");
|
|
|
|
+const CityList = require("../data/city");
|
|
// const StateMachine = require('../lib/StateMachine');
|
|
// const StateMachine = require('../lib/StateMachine');
|
|
// const StateMachineHistory = require('../lib/StateMachineHistory');
|
|
// const StateMachineHistory = require('../lib/StateMachineHistory');
|
|
|
|
|
|
@@ -811,7 +812,7 @@ cc.Class({
|
|
this.config(buildModel, this.uid);
|
|
this.config(buildModel, this.uid);
|
|
|
|
|
|
// 如果满级了, 就发通知告诉userinfo
|
|
// 如果满级了, 就发通知告诉userinfo
|
|
- if (buildModel.hasNext != 1) {
|
|
|
|
|
|
+ if (buildModel.hasNext != 1 && this.cityId != CityList[CityList.length-1].id) {
|
|
GameEvent.fire(GameNotificationKey.LevelHomeItemBuildingFull);
|
|
GameEvent.fire(GameNotificationKey.LevelHomeItemBuildingFull);
|
|
}
|
|
}
|
|
|
|
|