Skip to content

Commit

Permalink
Renamed new hooks
Browse files Browse the repository at this point in the history
- Renamed hooks to be consistent with the rest of the codebase.
  • Loading branch information
TwistedTail committed Sep 23, 2024
1 parent 0799c13 commit 79ddf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/acf/core/globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ end
if SERVER then
util.AddNetworkString("ACF_UpdateEntity")

hook.Add("ACF_PersistedData_Loaded", "ACF Workshop Content", function()
hook.Add("ACF_OnLoadPersistedData", "ACF Workshop Content", function()
if ACF.WorkshopContent then
resource.AddWorkshop("2183798463") -- Playermodel Seats
resource.AddWorkshop("3248769144") -- ACF-3 Base
Expand Down
2 changes: 1 addition & 1 deletion lua/acf/core/networking/data_vars/data_vars_sh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ do -- Data persisting
SetFunction(Key, Default)
end

hook.Run("ACF_PersistedData_Loaded")
hook.Run("ACF_OnLoadPersistedData")
hook.Remove("Initialize", "ACF Load Persisted Data")
end)
end
Expand Down

0 comments on commit 79ddf9a

Please sign in to comment.