Nicolas Cannasse 2 months ago
parent
commit
29d8fc0058
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hrt/prefab/Resource.hx

+ 1 - 1
hrt/prefab/Resource.hx

@@ -39,7 +39,7 @@ class Resource extends hxd.res.Resource {
 		#end
 	}
 
-	public function loadBypassCache() {
+	public function loadBypassCache() : Prefab {
 		var data = loadData();
 		var prefab = Prefab.createFromDynamic(data, new ContextShared(entry.path, false));
 		return cast prefab;