fix scan during combat

Leandro Silva [01-22-20 - 20:13]
fix scan during combat
Filename
LeoGuildManager.lua
LeoGuildManager.txt
LeoGuildManagerInit.lua
diff --git a/LeoGuildManager.lua b/LeoGuildManager.lua
index 572433b..7da3f3f 100644
--- a/LeoGuildManager.lua
+++ b/LeoGuildManager.lua
@@ -775,6 +775,7 @@ end
 function LeoGuildManager.ScanGuilds()
     if LeoGuildManager.inCombat then
         zo_callLater(LeoGuildManager.ScanGuilds, shortScanInterval)
+        return
     end

     local numGuilds = GetNumGuilds()
diff --git a/LeoGuildManager.txt b/LeoGuildManager.txt
index 70d981a..4470307 100644
--- a/LeoGuildManager.txt
+++ b/LeoGuildManager.txt
@@ -1,7 +1,7 @@
 ## Title: Leo's Guild Manager
 ## APIVersion: 100029 100030
-## Version: 1.2.0
-## AddOnVersion: 1200
+## Version: 1.2.1
+## AddOnVersion: 1201
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoGuildManagerGlobalData LeoGuildManagerScanData
 ## DependsOn: LibStub LibFeedback LibAddonMenu-2.0
diff --git a/LeoGuildManagerInit.lua b/LeoGuildManagerInit.lua
index 4ce1d21..2bf7d87 100644
--- a/LeoGuildManagerInit.lua
+++ b/LeoGuildManagerInit.lua
@@ -4,7 +4,7 @@ LeoGuildManagerUI = LeoGuildManagerUI or {}

 LeoGuildManager.name = "LeoGuildManager"
 LeoGuildManager.displayName = "Leo's Guild Manager"
-LeoGuildManager.version = "1.2.0"
+LeoGuildManager.version = "1.2.1"
 LeoGuildManager.chatPrefix = "|c39B027" .. LeoGuildManager.name .. "|r: "

 LeoGuildManager.TAB_PURGE = "Purge"