Browse Source

update map when bane set

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

3
src/engine/objects/Contract.java

@ -199,7 +199,7 @@ public class Contract extends AbstractGameObject {
} }
public static VendorDialog HandleBaneCommanderOptions(int optionId, NPC npc, PlayerCharacter pc){ public static VendorDialog HandleBaneCommanderOptions(int optionId, NPC npc, PlayerCharacter pc){
pc.setLastNPCDialog(null); pc.setLastNPCDialog(npc);
VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog(); VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();
vd.getOptions().clear(); vd.getOptions().clear();
Building building = npc.building; Building building = npc.building;
@ -236,6 +236,7 @@ public class Contract extends AbstractGameObject {
} }
DateTime placement = bane.getPlacementDate(); DateTime placement = bane.getPlacementDate();
vd.getOptions().clear();
switch(optionId){ switch(optionId){
default: default:
if(!bane.daySet) { if(!bane.daySet) {

Loading…
Cancel
Save