From c126090a0ca9c5d31b2cbf650b20ca48ca4a026b Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 14 Jun 2015 15:14:54 +0100 Subject: [PATCH] fixed: html5 runtime errors loading missing assets typo on last >.> --- templates/compatibility/DefaultAssetLibrary.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compatibility/DefaultAssetLibrary.hx b/templates/compatibility/DefaultAssetLibrary.hx index 3f2799221..5553ae9c6 100644 --- a/templates/compatibility/DefaultAssetLibrary.hx +++ b/templates/compatibility/DefaultAssetLibrary.hx @@ -206,7 +206,7 @@ class DefaultAssetLibrary extends AssetLibrary { var bytes:ByteArray = null; var loader = ApplicationMain.urlLoaders.get (path.get (id)); - if (loader = null) { + if (loader == null) { return null; @@ -349,7 +349,7 @@ class DefaultAssetLibrary extends AssetLibrary { var bytes:ByteArray = null; var loader = ApplicationMain.urlLoaders.get (path.get (id)); - if (loader = null) { + if (loader == null) { return null;