fix skip fight
parent
121c465496
commit
0204a27a38
|
@ -1181,14 +1181,17 @@ public class MapLogic {
|
|||
mapManager.findSuddenlyBoss(0, 0);
|
||||
|
||||
}else{
|
||||
if(sOptionConfig!=null){
|
||||
Cell cell = mapManager.getMapInfo().get(triggerXY);
|
||||
if (cell != null && cell.getEventId()!=-1 && sOptionConfig!=null) {
|
||||
if (cell != null ) {
|
||||
nextEventId = getNextEventId(user, cell, sOptionConfig);
|
||||
cell.setEventId(nextEventId);
|
||||
mapManager.addOrUpdateCell(triggerXY, cell);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
fightEndResponse.setEventId(nextEventId);
|
||||
// LOGGER.info("endFight() uid=>{},nextEventId=>{}", uid, nextEventId);
|
||||
|
|
Loading…
Reference in New Issue