diff --git a/flixel/system/frontEnds/AssetFrontEnd.hx b/flixel/system/frontEnds/AssetFrontEnd.hx index 4baa8d4d48..d233683759 100644 --- a/flixel/system/frontEnds/AssetFrontEnd.hx +++ b/flixel/system/frontEnds/AssetFrontEnd.hx @@ -283,7 +283,7 @@ class AssetFrontEnd for (path in sys.FileSystem.readDirectory(directory)) { if (sys.FileSystem.isDirectory('$directory/$path')) - addFiles('$directory/$path',path + '/'); + addFiles('$directory/$path', prefix + path + '/'); else list.push(prefix + path); }