Browse Source

fixed pak loader for js

ncannasse 7 years ago
parent
commit
7319af3631
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/fmt/pak/Loader.hx

+ 1 - 1
hxd/fmt/pak/Loader.hx

@@ -4,7 +4,7 @@ class Loader extends h2d.Object {
 
 
 	var onDone : Void -> Void;
 	var onDone : Void -> Void;
 	var cur : hxd.net.BinaryLoader;
 	var cur : hxd.net.BinaryLoader;
-	var resCount : Int;
+	var resCount : Int = 0;
 	var fs : FileSystem;
 	var fs : FileSystem;
 	var s2d : h2d.Scene;
 	var s2d : h2d.Scene;
 	var bg : h2d.Graphics;
 	var bg : h2d.Graphics;