Browse Source

fix for latest haxe

ncannasse 7 năm trước cách đây
mục cha
commit
656d05136b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      hxsl/Globals.hx

+ 2 - 2
hxsl/Globals.hx

@@ -57,8 +57,8 @@ class Globals {
 		return i;
 	}
 
-	static var ALL;
-	static var MAP;
+	static var ALL : Array<String>;
+	static var MAP : #if flash haxe.ds.UnsafeStringMap<Int> #else Map<String,Int> #end;
 	public static function allocID( path : String ) {
 		if( MAP == null ) {
 			#if flash