diff --git a/source/funkin/editors/ui/UIImageExplorer.hx b/source/funkin/editors/ui/UIImageExplorer.hx index 36cd774e..0aeed0e9 100644 --- a/source/funkin/editors/ui/UIImageExplorer.hx +++ b/source/funkin/editors/ui/UIImageExplorer.hx @@ -193,7 +193,7 @@ class UIImageExplorer extends UIFileExplorer { // GENERATE TEXT!!! imagePath = new Path(imagePath); - imageName = isAtlas ? Path.withoutDirectory(directoryPath) : ${imagePath.file}; + imageName = isAtlas ? Path.withoutDirectory(directoryPath) : imagePath.file; var message = new StringBuf(); if (isAtlas) message.add('${imageName}/');