Browse Source

update map when bane set

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
a92c603ab2
  1. 16
      src/engine/objects/Contract.java

16
src/engine/objects/Contract.java

@ -400,15 +400,15 @@ public class Contract extends AbstractGameObject {
} }
} }
if(bane.timeSet && bane.daySet && bane.capSet){ if(updateBaneCap > 0 || updateBaneTime > 0 || updateBaneDay > 0) {
bane.getSiegePhase(); bane.getSiegePhase();
} for (PlayerCharacter playerCharacter : SessionManager.getAllActivePlayerCharacters()) {
for(PlayerCharacter playerCharacter : SessionManager.getAllActivePlayerCharacters()) { CityDataMsg cityDataMsg = new CityDataMsg(SessionManager.getSession(playerCharacter), false);
CityDataMsg cityDataMsg = new CityDataMsg(SessionManager.getSession(playerCharacter), false); cityDataMsg.updateMines(true);
cityDataMsg.updateMines(true); cityDataMsg.updateCities(true);
cityDataMsg.updateCities(true); Dispatch dispatch = Dispatch.borrow(playerCharacter, cityDataMsg);
Dispatch dispatch = Dispatch.borrow(playerCharacter, cityDataMsg); DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY); }
} }
return vd; return vd;

Loading…
Cancel
Save