Skip to content

Commit

Permalink
Merge pull request #312 from artscout/master
Browse files Browse the repository at this point in the history
Patch 3.4.3 first changes
  • Loading branch information
IrcDirk authored Oct 12, 2023
2 parents 4379419 + 319c3c6 commit 9b46ff4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Carbonite/Libs/AceDB-3.0/AceDB-3.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
-- end
-- @class file
-- @name AceDB-3.0.lua
-- @release $Id: AceDB-3.0.lua 1284 2022-09-25 09:15:30Z nevcairiel $
local ACEDB_MAJOR, ACEDB_MINOR = "AceDB-3.0", 27
-- @release $Id: AceDB-3.0.lua 1306 2023-06-23 14:55:09Z nevcairiel $
local ACEDB_MAJOR, ACEDB_MINOR = "AceDB-3.0", 28
local AceDB = LibStub:NewLibrary(ACEDB_MAJOR, ACEDB_MINOR)

if not AceDB then return end -- No upgrade needed
Expand Down Expand Up @@ -260,7 +260,7 @@ local factionrealmKey = factionKey .. " - " .. realmKey
local localeKey = GetLocale():lower()

local regionTable = { "US", "KR", "EU", "TW", "CN" }
local regionKey = regionTable[GetCurrentRegion()]
local regionKey = regionTable[GetCurrentRegion()] or GetCurrentRegionName() or "TR"
local factionrealmregionKey = factionrealmKey .. " - " .. regionKey

-- Actual database initialization function
Expand Down
4 changes: 2 additions & 2 deletions Carbonite/NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11498,7 +11498,7 @@ function Nx.Map:UpdatePlayerPositions() -- Copy of the local defined player arro
local atlas = UnitInSubgroup(unit) and "WhiteCircle-RaidBlips" or "WhiteDotCircle-RaidBlips"
local class = select(2, UnitClass(unit))
local r, g, b = CheckColorOverrideForPVPInactive(unit, timeNow, GetClassColor(class))
NXWorldMapUnitPositionFrame:AddUnitAtlas(unit, atlas, Nx.db.profile.Map.InstanceGroupSize, Nx.db.profile.Map.InstanceGroupSize, r, g, b, 1)
NXWorldMapUnitPositionFrame:AddUnit(unit, atlas, Nx.db.profile.Map.InstanceGroupSize, Nx.db.profile.Map.InstanceGroupSize, r, g, b, 1)
end
end

Expand Down Expand Up @@ -11538,7 +11538,7 @@ function Nx.Map.NXWorldMapUnitPositionFrame_UpdateFull(timeNow)
local atlas = UnitInSubgroup(unit) and "WhiteCircle-RaidBlips" or "WhiteDotCircle-RaidBlips"
local class = select(2, UnitClass(unit))
local r, g, b = CheckColorOverrideForPVPInactive(unit, timeNow, GetClassColor(class))
NXWorldMapUnitPositionFrame:AddUnitAtlas(unit, atlas, Nx.db.profile.Map.InstanceGroupSize, Nx.db.profile.Map.InstanceGroupSize, r, g, b, 1)
NXWorldMapUnitPositionFrame:AddUnit(unit, atlas, Nx.db.profile.Map.InstanceGroupSize, Nx.db.profile.Map.InstanceGroupSize, r, g, b, 1)
end
end

Expand Down

0 comments on commit 9b46ff4

Please sign in to comment.