Skip to content

Commit cb3cf58

Browse files
committed
Clearify error message when setting x-plane version in config.json instead of the config command
1 parent 63f62ba commit cb3cf58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (c Config) IsXPlaneVersionSet() bool {
5757

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

0 commit comments

Comments
 (0)