From cb3cf58b64ee7dc356da87e881d44f719bfdbc4b Mon Sep 17 00:00:00 2001 From: Gero Kindling Date: Sat, 11 Jun 2022 18:55:53 +0200 Subject: [PATCH] Clearify error message when setting x-plane version in config.json instead of the config command --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 97001b8..2a12042 100644 --- a/config/config.go +++ b/config/config.go @@ -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 }