Fixed headless NinjaSnowWar.
This commit is contained in:
parent
7ad6d9cc9b
commit
0b569ee794
@ -167,7 +167,7 @@ void InitScene()
|
||||
}
|
||||
|
||||
// Precache shaders if possible
|
||||
if (cache.Exists("NinjaSnowWarShaders.xml"))
|
||||
if (!engine.headless && cache.Exists("NinjaSnowWarShaders.xml"))
|
||||
graphics.PrecacheShaders(cache.GetFile("NinjaSnowWarShaders.xml"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user