Fix assert on exit when Basic Lighting is removed

Occurs because ShadowMapManager is destroyed before
AdvancedLightManager.
This commit is contained in:
chaigler 2018-01-24 16:30:34 -05:00
parent 59c81f9179
commit e67e87cfac

View file

@ -41,6 +41,9 @@ GFX_ImplementTextureProfile(ShadowMapTexProfile,
MODULE_BEGIN( ShadowMapManager )
#ifndef TORQUE_BASIC_LIGHTING
MODULE_SHUTDOWN_AFTER(Scene)
#endif
MODULE_INIT
{