diff --git a/modules/afkcam.lua b/modules/afkcam.lua index 6b17b2c9..6394b473 100644 --- a/modules/afkcam.lua +++ b/modules/afkcam.lua @@ -125,7 +125,11 @@ pfUI:RegisterModule("afkcam", function () SetCVar("cameraYawMoveSpeed",afkcam._speed) SetCVar("UnitNameOwn", afkcam._ownname) SetView(4) + + -- set and save defaults again ResetView(4) + SaveView(4) + if not UIParent:IsVisible() and afkcam._ui_visible then UIParent:Show() end