Closed Olioliolioo closed 1 year ago
Temporary fixes: local function ButtonOnClick(self) if not isInBattleground() then print("You are not in a battleground.") return end
local currentLocation = GetSubZoneText() local enemyFaction = playerFaction == "enemy" and "enemy" or "enemy" local message = self:GetText() .. " " .. enemyFaction .. " incoming at " .. currentLocation SendChatMessage(message, "INSTANCE_CHAT")
end
Ok. I didn't know about that one seeing I don't play Horde. I will fix this asap. Thank you for the heads up.
Code has been fixed
Temporary fixes: local function ButtonOnClick(self) if not isInBattleground() then print("You are not in a battleground.") return end
end