The-Sickness / Incoming-BG

AN Interface GUI for calling out Inc's by clicking a button
1 stars 0 forks source link

Enemy is referred to as Hordies when playing as Horde #1

Closed Olioliolioo closed 1 year ago

Olioliolioo commented 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

The-Sickness commented 1 year ago

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.

The-Sickness commented 1 year ago

Code has been fixed