allow short-circuiting lights logic when lights are not in use
This commit is contained in:
@@ -54,6 +54,9 @@ LightsManager::~LightsManager()
|
||||
|
||||
void LightsManager::Update( float fDeltaTime )
|
||||
{
|
||||
if( !IsEnabled() )
|
||||
return;
|
||||
|
||||
// update lights falloff
|
||||
{
|
||||
FOREACH_CabinetLight( cl )
|
||||
|
||||
Reference in New Issue
Block a user