Compare commits

...

2 Commits

2 changed files with 4 additions and 2 deletions

View File

@@ -40,7 +40,9 @@ function shared.CameraSettings.Init()
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function(self, event, ...) SetCameraSpeed(shared.config.camera.speed) end)
frame:SetScript("OnEvent", function(self, event, ...)
C_Timer.After(5, function() SetCameraSpeed(shared.config.camera.speed) end)
end)
SlashCmdList["CAMERASETTINGS"] = function(speed)
if speed then shared.config.camera.speed = speed end

2
Meta

Submodule Meta updated: 88f5225058...eee043a846