From 9428d5cfaf0d93b2c1d97fcf6af0632ce0d581e6 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 7 Nov 2020 17:59:36 -0500 Subject: [PATCH] Update Preloader.hx --- Preloader.hx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Preloader.hx b/Preloader.hx index 509f9c4ba..ac2f37f8a 100644 --- a/Preloader.hx +++ b/Preloader.hx @@ -2,9 +2,6 @@ package ; import flixel.system.FlxBasePreloader; import openfl.display.Sprite; -import flash.text.Font; -import flash.text.TextField; -import flash.text.TextFormat; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.BlendMode; @@ -16,8 +13,7 @@ import flixel.FlxG; class Preloader extends FlxBasePreloader { - #if !js - public function new(MinDisplayTime:Float=5, ?AllowedURLs:Array) + public function new(MinDisplayTime:Float=4, ?AllowedURLs:Array) { super(MinDisplayTime, AllowedURLs); } @@ -58,5 +54,4 @@ class Preloader extends FlxBasePreloader super.update(Percent); } - #end } \ No newline at end of file