From 0f0c2816aa40afa113679e4ad60dfa4b61a3691c Mon Sep 17 00:00:00 2001 From: cloudbells Date: Mon, 26 Aug 2019 03:26:44 +0200 Subject: [PATCH] Fixed crash on launch --- FieldGuide.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/FieldGuide.lua b/FieldGuide.lua index d5505f4..c578eac 100644 --- a/FieldGuide.lua +++ b/FieldGuide.lua @@ -863,6 +863,7 @@ function FieldGuide_OnEvent(self, event, ...) if ... == "FieldGuide" then tomtom = IsAddOnLoaded("TomTom") and _G["TomTom"] if tomtom then + FieldGuideOptions = FieldGuideOptions or {} FieldGuideOptions.pins = {} end print(not tomtom and "|cFFFFFF00Field Guide|r loaded! Type /fg help for commands and controls. By the way, it is highly recommended to use TomTom with Field Guide." or "|cFFFFFF00Field Guide|r loaded! Type /fg help for commands and controls.")