Merge pull request #1626 from dpomier/patch-1

Allow Assets.registerLibrary() for default library
This commit is contained in:
player-03
2023-04-16 14:45:32 -04:00
committed by GitHub

View File

@@ -492,6 +492,11 @@ class Assets
public static function registerLibrary(name:String, library:AssetLibrary):Void
{
if (name == null || name == "")
{
name = "default";
}
if (libraries.exists(name))
{
if (libraries.get(name) == library)