无尽副本位置弹回

back_recharge
lvxinran 2020-10-28 21:07:49 +08:00
parent 4f3c4fc8fb
commit 161bc6fa52
1 changed files with 2 additions and 0 deletions

View File

@ -576,6 +576,7 @@ public class MapLogic {
} }
} }
mapManager.setCurXY(curXY); mapManager.setCurXY(curXY);
mapManager.updateEndlessLocation(curXY);
mapManager.updateFoodBufferByStep(cells.size()); mapManager.updateFoodBufferByStep(cells.size());
} }
MapInfoProto.MapUpdateResponse mapUpdateResponse = MapInfoProto.MapUpdateResponse.newBuilder() MapInfoProto.MapUpdateResponse mapUpdateResponse = MapInfoProto.MapUpdateResponse.newBuilder()
@ -668,6 +669,7 @@ public class MapLogic {
mapManager.setTriggerXY(triggerXY); mapManager.setTriggerXY(triggerXY);
mapManager.addWalkCells(new HashSet<>(cells)); mapManager.addWalkCells(new HashSet<>(cells));
mapManager.setCurXY(curXY); mapManager.setCurXY(curXY);
mapManager.updateEndlessLocation(curXY);
MapInfoProto.MapUpdateResponse.Builder mapUpdateResponse = MapInfoProto.MapUpdateResponse.newBuilder(); MapInfoProto.MapUpdateResponse.Builder mapUpdateResponse = MapInfoProto.MapUpdateResponse.newBuilder();
mapUpdateResponse.setLeftTime(getLeftTime(user, true)); mapUpdateResponse.setLeftTime(getLeftTime(user, true));
mapUpdateResponse.setEventId(cell.getEventId()); mapUpdateResponse.setEventId(cell.getEventId());