zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zm_neko_dark_v2_fix2.lua
2014-10-01 20:49:54 -04:00

8 lines
234 B
Lua

-- This profile gets rid of exploitable doors.
hook.Add("InitPostEntityMap", "MapProfile", function()
for _, door in pairs(ents.FindByClass("func_door_rotating")) do
door:Fire("open", "", 0)
door:Fire("kill", "", 0.5)
end
end)