crazy secrets have leaked into the main frame

This commit is contained in:
Luna 2025-01-06 16:29:42 +01:00
parent 17bd89ee5c
commit 87613be57c
2 changed files with 13 additions and 2 deletions

View File

@ -16,7 +16,12 @@ function ENT:Initialize()
self:SetNotSolid( true )
self:SetUseType( SIMPLE_USE )
--self:SetRenderMode( RENDERMODE_TRANSALPHA ) -- fix broken decals
self:AddFlags( FL_OBJECT ) -- this allows npcs to see this entity
-- crazy secrets have been leaked into the main frame
self:AddEFlags( EFL_DONTBLOCKLOS )
-- useless, cuz this doesnt run on lvs' entity relationship system anymore :(
self:AddFlags( FL_OBJECT )
if not IsServerOK() then

View File

@ -28,9 +28,15 @@ if SERVER then
self:SetSolid( SOLID_VPHYSICS )
self:SetCollisionGroup( COLLISION_GROUP_PASSABLE_DOOR )
self:SetUseType( SIMPLE_USE )
self:AddFlags( FL_OBJECT )
self:AddEFlags( EFL_NO_PHYSCANNON_INTERACTION )
-- crazy secrets have been leaked into the main frame
self:AddEFlags( EFL_DONTBLOCKLOS )
-- useless, cuz this doesnt run on lvs' entity relationship system anymore :(
self:AddFlags( FL_OBJECT )
self:DrawShadow( false )
self.OldMaterial = ""