Help correct possible race condition in Flash preloader when simulating progress
This commit is contained in:
@@ -235,7 +235,7 @@ class Preloader #if flash extends Sprite #end {
|
|||||||
|
|
||||||
private function start ():Void {
|
private function start ():Void {
|
||||||
|
|
||||||
if (complete) return;
|
if (complete || simulateProgress || !preloadComplete) return;
|
||||||
|
|
||||||
complete = true;
|
complete = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user