Files
wnsrc/lua/autorun/niknaks_autorun.lua
lifestorm 6a58f406b1 Upload
2024-08-04 23:54:45 +03:00

20 lines
626 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
-- Post Init. This is to stop using traces and other functions, as they can cause a crash if used before.
if not _NIKNAKS_POSTENTITY then
hook.Add("InitPostEntity","NikNaks_InitPostEntity", function()
_NIKNAKS_POSTENTITY = true
if _MODULES["niknaks"] then
hook.Run("NikNaks._LoadPathOptions")
end
hook.Remove("InitPostEntity","NikNaks_InitPostEntity")
end)
end