From 472bbb44f208612dba17275d61594feabc977b31 Mon Sep 17 00:00:00 2001 From: Sebastien Benard Date: Sun, 29 Sep 2024 23:29:50 +0200 Subject: [PATCH] ADD clearAssetCache --- src/ldtk/Project.hx | 4 ++++ 1 file changed, 4 insertions(+) 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