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>();