Skip to content

Commit

Permalink
Default resolution has no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Jun 16, 2024
1 parent e6ade87 commit c90f5d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/toniarts/openkeeper/game/data/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ private Settings(final AppSettings settings) {
// Init the settings
this.settings = settings;

//Default resolution
if (!this.settings.containsKey("Width") || !this.settings.containsKey("Height")) {
this.settings.setResolution(800, 600); // Default resolution
}
if (Files.exists(USER_SETTINGS_FILE)) {
try (InputStream in = Files.newInputStream(USER_SETTINGS_FILE);
BufferedInputStream bin = new BufferedInputStream(in)) {
Expand Down

0 comments on commit c90f5d6

Please sign in to comment.