|
@@ -109,12 +109,16 @@ class CacheFile extends Cache {
|
|
if( wait.length > 0 ) {
|
|
if( wait.length > 0 ) {
|
|
waitCount += wait.length;
|
|
waitCount += wait.length;
|
|
#if hlmulti
|
|
#if hlmulti
|
|
- for( r in wait )
|
|
|
|
|
|
+ for( r in wait ) {
|
|
addNewShader(r);
|
|
addNewShader(r);
|
|
|
|
+ hxd.System.timeoutTick();
|
|
|
|
+ }
|
|
#else
|
|
#else
|
|
haxe.Timer.delay(function() {
|
|
haxe.Timer.delay(function() {
|
|
- for( r in wait )
|
|
|
|
|
|
+ for( r in wait ) {
|
|
addNewShader(r);
|
|
addNewShader(r);
|
|
|
|
+ hxd.System.timeoutTick();
|
|
|
|
+ }
|
|
},1000); // wait until engine correctly initialized
|
|
},1000); // wait until engine correctly initialized
|
|
#end
|
|
#end
|
|
}
|
|
}
|