From bb0650511eb2b45385c93a43364c2c0e18a2d896 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 24 May 2017 08:09:43 -0700 Subject: [PATCH] Fix config.rootPath --- templates/haxe/ManifestResources.hx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/haxe/ManifestResources.hx b/templates/haxe/ManifestResources.hx index a3fa78c46..281d0f218 100644 --- a/templates/haxe/ManifestResources.hx +++ b/templates/haxe/ManifestResources.hx @@ -24,11 +24,12 @@ import sys.FileSystem; preloadLibraries = new Array (); preloadLibraryNames = new Array (); + var rootPath = null; - if (config != null && Reflect.hasField (config, "assetsPrefix")) { + if (config != null && Reflect.hasField (config, "rootPath")) { - rootPath = Reflect.field (config, "assetsPrefix"); + rootPath = Reflect.field (config, "rootPath"); }