Scan on "PLAYER_ALIVE" Event changed to only execute when player releases spirit (not on "Feign Death" or resurrect by player)
This commit is contained in:
@@ -176,6 +176,9 @@ local function OnPlayerGuildUpdate()
|
||||
end
|
||||
|
||||
local function OnPlayerAlive()
|
||||
-- print("DataStore.lua") -- DEBUG 2025 07 21
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
Characters[GetKey()].faction = UnitFactionGroup("player")
|
||||
OnPlayerGuildUpdate()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user