ncannasse 6 years ago
parent
commit
a54fda27e2
1 changed files with 1 additions and 1 deletions
  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>();