mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
afkcam: ensure the afkcam won't get started twice
This commit is contained in:
@@ -119,6 +119,7 @@ pfUI:RegisterModule("afkcam", "vanilla:tbc", function ()
|
||||
end)
|
||||
|
||||
function afkcam:start()
|
||||
if afkcam._spinning then return end
|
||||
afkcam._speed = GetCVar("cameraYawMoveSpeed")
|
||||
afkcam._ownname = GetCVar("UnitNameOwn")
|
||||
afkcam._ui_visible = UIParent:IsVisible()
|
||||
|
||||
Reference in New Issue
Block a user