From 5c7199ae56be92d4233f2a0eaff0403edb7d8222 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:24:18 -0500 Subject: [PATCH] Update ACF hook names (again) --- lua/autorun/server/acf_daktank_buildmode.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/autorun/server/acf_daktank_buildmode.lua b/lua/autorun/server/acf_daktank_buildmode.lua index 6869f21..c300182 100644 --- a/lua/autorun/server/acf_daktank_buildmode.lua +++ b/lua/autorun/server/acf_daktank_buildmode.lua @@ -31,8 +31,8 @@ local function preventExplosions( entity ) local entOwnerBuild = entOwner:GetNWBool( "_Kyle_Buildmode", false ) if entOwnerBuild then return false end end -hook.Add( "ACF_AmmoCanExplode", "ACF_BuildmodeIntegration_BuilderAmmo", preventExplosions ) -hook.Add( "ACF_FuelCanExplode", "ACF_BuildmodeIntegration_BuilderFuel", preventExplosions ) +hook.Add( "ACF_PreExplodeAmmo", "ACF_BuildmodeIntegration_BuilderAmmo", preventExplosions ) +hook.Add( "ACF_PreExplodeFuel", "ACF_BuildmodeIntegration_BuilderFuel", preventExplosions ) hook.Add( "DakTankDamageCheck", "DakTank_BuildmodeIntegration", function( hitEnt, shellOwner, shell ) if not IsValid( hitEnt ) or not IsValid( shellOwner ) or not IsValid( shell ) then return end