mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
dont do it in headless mode
This commit is contained in:
parent
fda799b8a2
commit
7f071364b3
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ namespace SanAndreasUnity.Behaviours.World
|
|||
|
||||
Profiler.EndSample ();
|
||||
|
||||
this.CreateLights(geoms);
|
||||
if (!F.IsInHeadlessMode)
|
||||
this.CreateLights(geoms);
|
||||
|
||||
geoms.AttachCollisionModel(transform);
|
||||
|
||||
|
|
Loading…
Reference in a new issue