mirror of
https://github.com/JonnyBro/beatrun.git
synced 2025-04-06 10:56:34 +05:00
15 lines
No EOL
318 B
Lua
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) |