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

+ 1 - 1
hxsl/Globals.hx

@@ -59,7 +59,7 @@ class Globals {
 
 	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 ) {
+	public static function allocID( path : String ) : Int {
 		if( MAP == null ) {
 			#if flash
 			MAP = new haxe.ds.UnsafeStringMap<Int>();