From 0e9200d2d65ccc96fb70d11ce8800624ffca0dc7 Mon Sep 17 00:00:00 2001 From: Anonomit Date: Wed, 22 Jun 2022 18:10:53 -0400 Subject: [PATCH] Fix rare startup bug --- LootReserve.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/LootReserve.lua b/LootReserve.lua index 0bed0dd..a5701e9 100644 --- a/LootReserve.lua +++ b/LootReserve.lua @@ -104,14 +104,15 @@ function LootReserve:ToggleServerWindow(state, rolls) end function LootReserve:OnInitialize() +end + +function LootReserve:OnEnable() LootReserve.Client:Load(); LootReserve.Server:Load(); if LootReserve.Client.Settings.AllowPreCache then LootReserve.ItemSearch:Load(); end -end - -function LootReserve:OnEnable() + LootReserve.Comm:StartListening(); local function Startup()