ncannasse 6 年之前
父節點
當前提交
a54fda27e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>();