diff --git a/src/ldtk/Project.hx b/src/ldtk/Project.hx index 94f17f4..8ea55c7 100644 --- a/src/ldtk/Project.hx +++ b/src/ldtk/Project.hx @@ -265,6 +265,10 @@ class Project { } } + public function clearAssetCache() { + assetCache = new Map(); + } + /** Try to resolve the Project file location in the current Asset management system