Skip to content

Commit

Permalink
Fix PLAYER_ENTERING_WORLD event registration (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmericp authored Feb 3, 2024
1 parent 5fbd91f commit fc58eb2
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 14 deletions.
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Alterac.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

mod:AddBoolOption("AutoTurnIn")
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Arathi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Ashran.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

mod:AddBoolOption("AutoTurnIn")
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Deepwind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/EyeOfTheStorm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Gilneas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/IsleOfConquest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/SeethingShore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/SilvershardMines.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/StrandOfTheAncients.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ mod:SetZone(DBM_DISABLE_ZONE_DETECTION)

mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/TempleOfKotmogu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/TwinPeaks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Warsong.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ mod:SetRevision("@file-date-integer@")
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down
3 changes: 2 additions & 1 deletion DBM-PvP/Battlegrounds/Wintergrasp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ mod:SetZone(DBM_DISABLE_ZONE_DETECTION)

mod:RegisterEvents(
"LOADING_SCREEN_DISABLED",
"ZONE_CHANGED_NEW_AREA"
"ZONE_CHANGED_NEW_AREA",
"PLAYER_ENTERING_WORLD"
)

do
Expand Down

0 comments on commit fc58eb2

Please sign in to comment.