beatrun/beatrun/gamemodes/beatrun/gamemode/sh/Conflicts.lua
2023-10-12 22:59:36 +05:00

15 lines
No EOL
318 B
Lua

local problematichooks = {
SetupMove = {"vmanip_vault"}
}
local function RemoveConflicting()
for k, v in pairs(problematichooks) do
for _, b in ipairs(v) do
hook.Remove(k, b)
end
end
hook.Remove("InitPostEntity", "RemoveConflicting")
end
hook.Add("InitPostEntity", "RemoveConflicting", RemoveConflicting)