Skip to content

Commit

Permalink
Fixed crash on launch
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudbells committed Aug 26, 2019
1 parent 1520369 commit 0f0c281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FieldGuide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 0f0c281

Please sign in to comment.