secrets have leaked into the main frame

This commit is contained in:
Luna 2025-01-06 16:28:34 +01:00
parent bc24b2bf6e
commit 5aab03392e
4 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,3 @@
name=LunasFlightSchool
version=288
version=289
url=https://raw.githubusercontent.com/SpaxscE/LunasFlightSchool/master/data_static/lvs/3111031938.txt

View File

@ -23,7 +23,12 @@ function ENT:Initialize() -- overwriting initialize function is bad and a big no
self:SetSolid( SOLID_VPHYSICS )
self:SetUseType( SIMPLE_USE )
self:SetRenderMode( RENDERMODE_TRANSALPHA )
self:AddFlags( FL_OBJECT ) -- this allows npcs to see this entity
-- this is so vj npcs can still see us
self:AddEFlags( EFL_DONTBLOCKLOS )
-- this if for our npc relationship system to work
self:AddFlags( FL_OBJECT )
local PObj = self:GetPhysicsObject()

View File

@ -14,6 +14,11 @@ function ENT:Initialize()
self:SetSolid( SOLID_VPHYSICS )
self:SetUseType( SIMPLE_USE )
self:SetRenderMode( RENDERMODE_NORMAL )
-- this is so vj npcs can still see us
self:AddEFlags( EFL_DONTBLOCKLOS )
-- this if for our npc relationship system to work
self:AddFlags( FL_OBJECT )
local PObj = self:GetPhysicsObject()

View File

@ -10,7 +10,12 @@ function ENT:Initialize()
self:SetSolid( SOLID_VPHYSICS )
self:SetUseType( SIMPLE_USE )
self:SetRenderMode( RENDERMODE_TRANSALPHA )
self:AddFlags( FL_OBJECT ) -- this allows npcs to see this entity
-- this is so vj npcs can still see us
self:AddEFlags( EFL_DONTBLOCKLOS )
-- this if for our npc relationship system to work
self:AddFlags( FL_OBJECT )
local PObj = self:GetPhysicsObject()