Skip to content

Commit

Permalink
Clear the maplist when opening a game resource file.
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen-wilke committed May 5, 2020
1 parent 9962e52 commit 18a7735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utiliti/src/de/gurkenlabs/utiliti/components/Editor.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public void load(File gameFile, boolean force) {
this.setProjectPath(gameFile.getPath());

// load maps from game file
this.mapComponent.loadMaps(this.getGameFile().getMaps(), false);
this.mapComponent.loadMaps(this.getGameFile().getMaps(), true);

Resources.images().clear();
Resources.spritesheets().clear();
Expand Down

0 comments on commit 18a7735

Please sign in to comment.