This commit is contained in:
Yoshman29
2022-11-14 13:39:01 +01:00
parent 22197cfb0d
commit ffe4dc781c
4 changed files with 3 additions and 36 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ class Paths
inline static public function font(key:String)
{
#if sys
return OpenFlAssets.getPath(getPath('fonts/$key', FONT, null));
return sys.FileSystem.absolutePath(OpenFlAssets.getPath(getPath('fonts/$key', FONT, null)));
#else
return getPath('fonts/$key', FONT, null);
#end