mirror of
https://github.com/Valen-Sandbox/acf-daktank-buildmode.git
synced 2025-03-04 03:03:17 -05:00
Update ACF hook names (again)
This commit is contained in:
parent
deca7b9cb2
commit
5c7199ae56
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user