diff --git a/Constants.lua b/Constants.lua index 22bc20f..2de7902 100644 --- a/Constants.lua +++ b/Constants.lua @@ -85,6 +85,10 @@ LootReserve.Constants.DefaultPhases = { "Collection", "Vendor", }; +LootReserve.Constants.DefaultRollPhases = { + "Main Spec", + "Off Spec", +}; LootReserve.Constants.WonRollPhase = { Reserve = 1, RaidRoll = 2, diff --git a/Server.lua b/Server.lua index 3f959a9..f0337d0 100644 --- a/Server.lua +++ b/Server.lua @@ -39,7 +39,7 @@ LootReserve.Server = RollUseTiered = true, Phases = LootReserve:Deepcopy(LootReserve.Constants.DefaultPhases), RollUsePhases = false, - RollPhases = {"Main Spec", "Off Spec"}, + RollPhases = LootReserve:Deepcopy(LootReserve.Constants.DefaultRollPhases), RollAdvanceOnExpire = true, RollLimitDuration = false, RollDuration = 30, @@ -329,7 +329,8 @@ StaticPopupDialogs["LOOTRESERVE_CONFIRM_RESET_PHASES"] = whileDead = 1, hideOnEscape = 1, OnAccept = function(self) - LootReserve.Server.Settings.Phases = LootReserve:Deepcopy(LootReserve.Constants.DefaultPhases); + LootReserve.Server.Settings.Phases = LootReserve:Deepcopy(LootReserve.Constants.DefaultPhases); + LootReserve.Server.Settings.RollPhases = LootReserve:Deepcopy(LootReserve.Constants.DefaultRollPhases); end, };