mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
afkcam: restore and save defaults
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user