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"); }