From 0dfc55f06e50e62eaf7de9d3212d6767eeb9674a Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Tue, 21 Feb 2017 08:47:00 -0800 Subject: [PATCH] Fix case of null icon path --- lime/tools/helpers/IconHelper.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lime/tools/helpers/IconHelper.hx b/lime/tools/helpers/IconHelper.hx index 3103ea4d7..750c1c290 100644 --- a/lime/tools/helpers/IconHelper.hx +++ b/lime/tools/helpers/IconHelper.hx @@ -376,7 +376,7 @@ class IconHelper { } - if (!FileSystem.exists (icon.path)) { + if (icon.path == null || !FileSystem.exists (icon.path)) { LogHelper.warn ("Could not find icon path: " + icon.path); return null;