Fix asset paths lookup in build
This commit is contained in:
@@ -46,7 +46,7 @@ const String& JsonAssetBase::GetPath() const
|
||||
return _path;
|
||||
#else
|
||||
// In build all assets are packed into packages so use ID for original path lookup
|
||||
return Content::GetRegistry()->GetAssetPath(_id);
|
||||
return Content::GetRegistry()->GetEditorAssetPath(_id);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user