Help correct possible race condition in Flash preloader when simulating progress

This commit is contained in:
Joshua Granick
2018-04-21 16:24:57 -07:00
parent bd626b9472
commit 917ec2be5b

View File

@@ -235,7 +235,7 @@ class Preloader #if flash extends Sprite #end {
private function start ():Void {
if (complete) return;
if (complete || simulateProgress || !preloadComplete) return;
complete = true;