zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zs_manoir_de_perruques_z10.lua
2015-04-19 00:38:31 -04:00

9 lines
252 B
Lua

hook.Add("InitPostEntityMap", "Adding", function()
local doors = ents.FindByClass("func_door_rotating")
if doors[4] then
doors[4]:SetKeyValue("damagefilter", "invul")
end
if doors[5] then
doors[5]:SetKeyValue("damagefilter", "invul")
end
end)