ncannasse 7 years ago
parent
commit
cd4a6eda8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/prefab/Context.hx

+ 1 - 1
hide/prefab/Context.hx

@@ -66,7 +66,7 @@ class Context {
 		#if editor
 		#if editor
 		return hide.comp.Scene.getCurrent().loadTexture("",path);
 		return hide.comp.Scene.getCurrent().loadTexture("",path);
 		#else
 		#else
-		return @:privateAccess shared.cache.loadTexture("", path);
+		return @:privateAccess shared.cache.loadTexture(null, path);
 		#end
 		#end
 	}
 	}