Skip to content

Commit

Permalink
chore: release 2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
djohts committed Jun 18, 2024
1 parent 9c6c9f1 commit 82ea3aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.6.2 (2024-06-18)

- Fixed config loading

**Full Changelog**: https://github.com/djohts/tpc-truckersmp/compare/v2.6.1...v2.6.2

## 2.6.1 (2024-06-17)

forgot to update version constant
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ func Init() error {
config = &Configuration{}
defaults.Set(config)
if file, err := os.ReadFile(getConfigPath()); err != nil {
return err
} else {
if err := yaml.Unmarshal(file, &config); err != nil {
return err
}
} else {
return err
}
WriteToDisk()

Expand Down
2 changes: 1 addition & 1 deletion constants/constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package constants

const (
APP_VERSION = `2.6.1`
APP_VERSION = `2.6.2`

ETS = `Euro Truck Simulator 2`
ATS = `American Truck Simulator`
Expand Down

0 comments on commit 82ea3aa

Please sign in to comment.