Skip to content

Commit

Permalink
Clearify error message when setting x-plane version in config.json in…
Browse files Browse the repository at this point in the history
…stead of the config command
  • Loading branch information
xEtarusx committed Jun 11, 2022
1 parent 63f62ba commit cb3cf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (c Config) IsXPlaneVersionSet() bool {

func (c Config) IsSceneryPackIncluded(sceneryId int) bool {
if _, ok := c.ReleasedSceneryPacksWithVersion[c.XPlaneVersion]; !ok {
fmt.Printf("Could not find list of released scenery packs for version %s\n", c.XPlaneVersion)
fmt.Printf("Could not find list of released scenery packs for version %s. Please set the version via the config command.\n", c.XPlaneVersion)
return false
}

Expand Down

0 comments on commit cb3cf58

Please sign in to comment.