Skip to content

Commit

Permalink
Updated uses of ACF_OnAddonLoaded hook
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedTail committed Jun 3, 2023
1 parent 51a77d1 commit 4f928af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/acf/core/acfm_globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ if SERVER then
end

do -- Update checker
hook.Add("ACF_OnAddonLoaded", "ACF Missiles Checker", function()
hook.Add("ACF_OnLoadAddon", "ACF Missiles Update Checker", function()
ACF.AddRepository("TwistedTail", "ACF-3-Missiles", "lua/acf/core/acfm_globals.lua")

hook.Remove("ACF_OnLoadAddon", "ACF Missiles Update Checker")
end)
end

0 comments on commit 4f928af

Please sign in to comment.