Skip to content

Commit

Permalink
Adventure - POIChanges & reputation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjayers99 committed Jan 5, 2024
1 parent 7ee7937 commit 9f56af8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion forge-gui-mobile/src/forge/adventure/scene/TileMapScene.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ private void load(String targetMap, int nextSpawnPoint) {
}

public PointOfInterestChanges getPointOfInterestChanges(){
return WorldSave.getCurrentSave().getPointOfInterestChanges(rootPoint.getID() + rootPoint.getData().map);
return WorldSave.getCurrentSave().getPointOfInterestChanges(rootPoint.getID());
}
public PointOfInterestChanges getPointOfInterestChanges(String targetMap){
if (rootPoint.getID().endsWith(targetMap))
return getPointOfInterestChanges();
return WorldSave.getCurrentSave().getPointOfInterestChanges(rootPoint.getID() + targetMap);
}

Expand Down

0 comments on commit 9f56af8

Please sign in to comment.