Bug Fixes
This commit is contained in:
@@ -3846,6 +3846,10 @@ AtlasLoot_updater:RegisterEvent("CHAT_MSG_ADDON")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL")
|
||||
AtlasLoot_updater:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL_JOIN")
|
||||
|
||||
AtlasLootUserCounter = {}
|
||||
PlayerCounter = {}
|
||||
|
||||
AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == "AtlasLoot" then
|
||||
@@ -3864,6 +3868,13 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL_JOIN" then
|
||||
local name = arg2
|
||||
if not PlayerCounter[name] then
|
||||
PlayerCounter[name] = 1
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL" then
|
||||
local _,_,source = string.find(arg4,"(%d+)%.")
|
||||
if source then
|
||||
@@ -3885,6 +3896,10 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
end
|
||||
local name = arg2
|
||||
if not AtlasLootUserCounter[name] then
|
||||
AtlasLootUserCounter[name] = 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4877,12 +4877,12 @@ AtlasLoot_ButtonRegistry = {
|
||||
Back_Page = "SURVIVALMENU";
|
||||
Back_Title = AL["Survival"];
|
||||
Prev_Page = "Survival2";
|
||||
Prev_Title = AL["Garderning"];
|
||||
Prev_Title = AL["Gardening"];
|
||||
Next_Page = "Survival2";
|
||||
Next_Title = AL["Garderning"];
|
||||
Next_Title = AL["Gardening"];
|
||||
};
|
||||
["Survival2"] = {
|
||||
Title = AL["Garderning"];
|
||||
Title = AL["Gardening"];
|
||||
Back_Page = "SURVIVALMENU";
|
||||
Back_Title = AL["Survival"];
|
||||
Prev_Page = "Survival1";
|
||||
|
||||
+2
-2
@@ -704,9 +704,9 @@ function AtlasLoot_SurvivalMenu()
|
||||
AtlasLootMenuItem_2.lootpage = "Survival1";
|
||||
AtlasLootMenuItem_2:Show();
|
||||
--Journeyman
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Garderning"]);
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Gardening"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\trade_herbalism");
|
||||
AtlasLootMenuItem_3.lootpage = "Survival2";
|
||||
AtlasLootMenuItem_3:Show();
|
||||
end
|
||||
end
|
||||
|
||||
@@ -118,7 +118,7 @@ function AtlasLoot_FixText(text)
|
||||
text = gsub(text, "#p14#", AL["Gnomish Engineering"]);
|
||||
text = gsub(text, "#p15#", AL["Goblin Engineering"]);
|
||||
text = gsub(text, "#p16#", AL["Survival"]);
|
||||
text = gsub(text, "#p17#", AL["Garderning"]);
|
||||
text = gsub(text, "#p17#", AL["Gardening"]);
|
||||
|
||||
--Reputation
|
||||
text = gsub(text, "#r1#", AL["Neutral"]);
|
||||
|
||||
Reference in New Issue
Block a user