dont do it in headless mode

This commit is contained in:
in0finite 2021-06-25 23:03:31 +02:00
parent fda799b8a2
commit 7f071364b3

View file

@ -198,7 +198,8 @@ namespace SanAndreasUnity.Behaviours.World
Profiler.EndSample ();
this.CreateLights(geoms);
if (!F.IsInHeadlessMode)
this.CreateLights(geoms);
geoms.AttachCollisionModel(transform);