From fc6cd177d66bc9a10f0f372dd537136ad467cb8c Mon Sep 17 00:00:00 2001 From: srevid Date: Wed, 4 Mar 2015 11:18:26 -0500 Subject: [PATCH] isLocal always true with Sound [Flash] Fix isLocal function always true with test Sound on Flash. When embed sound is set on false, isLocal can't by pass exist test. --- templates/haxe/DefaultAssetLibrary.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/haxe/DefaultAssetLibrary.hx b/templates/haxe/DefaultAssetLibrary.hx index 01c5d7f52..798fc46b5 100644 --- a/templates/haxe/DefaultAssetLibrary.hx +++ b/templates/haxe/DefaultAssetLibrary.hx @@ -387,11 +387,11 @@ class DefaultAssetLibrary extends AssetLibrary { #if flash - if (requestedType != AssetType.MUSIC && requestedType != AssetType.SOUND) { + //if (requestedType != AssetType.MUSIC && requestedType != AssetType.SOUND) { return className.exists (id); - } + //} #end