11 lines
231 B
Lua
11 lines
231 B
Lua
|
-- This profile gets rid of exploitable doors.
|
||
|
|
||
|
hook.Add("InitPostEntityMap", "Adding", function()
|
||
|
|
||
|
|
||
|
for _, door in pairs(ents.FindByClass("func_door_rotating")) do
|
||
|
door:Fire("open", "", 0)
|
||
|
door:Fire("kill", "", 1)
|
||
|
end
|
||
|
end)
|