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