From e616778b3e24cb357eee6ab16672843dfa5ef672 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Fri, 15 Jan 2021 13:17:32 +0100 Subject: [PATCH] Clear asset map on new project --- Sources/arm/Project.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/arm/Project.hx b/Sources/arm/Project.hx index bb250962..af44a95c 100644 --- a/Sources/arm/Project.hx +++ b/Sources/arm/Project.hx @@ -261,6 +261,7 @@ class Project { for (a in assets) Data.deleteImage(a.file); assets = []; assetNames = []; + assetMap = []; assetId = 0; Context.ddirty = 4; UISidebar.inst.hwnd0.redraws = 2;