Skip to content

Commit

Permalink
Fix new config defaults not being written to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ac101m committed Apr 5, 2024
1 parent b6691ad commit c6c6996
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'com.ac101m'
version '1.1.1'
version '1.1.2'

repositories {
mavenCentral()
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/com/ac101m/am/persistence/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ data class Config(
properties.getProperty(POSITION_AVERAGE_DISTANCE_IDENTIFIER)?.let { property ->
config.positionAverageDistance = property.toDouble()
}

config.save(path)
}
}
}
Expand Down

0 comments on commit c6c6996

Please sign in to comment.