Skip to content

Commit

Permalink
Sound Extension Project hook documentation
Browse files Browse the repository at this point in the history
This hook should probably just be removed entirely tbh
  • Loading branch information
thecraftianman committed Jan 9, 2024
1 parent 0eeb0af commit ebe8891
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/acf/hooks/hooks_missiles_sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ Hooks.Add("ACF_Missiles_Server", function(Gamemode)
function Gamemode:ACF_MissileCanExplode()
return true
end

--- Called when a missile plays its sound if the ACF Sound Extension Project by looterz is installed.
-- This is a legacy hook from ACF-2 and may be removed at any time.
-- @param Entity The missile entity to play sound on.
-- @param Sound The sound to play.
function Gamemode:ACF_SOUND_MISSILE()
end
end)

0 comments on commit ebe8891

Please sign in to comment.