Compile fix

This commit is contained in:
Joshua Granick
2016-07-07 12:28:03 -07:00
parent 550d0fba4f
commit 07cb25ed0d

View File

@@ -159,7 +159,7 @@ class FlashPlatform extends PlatformTarget {
}
var context = project.templateContext;
context.WIN_FLASHBACKGROUND = StringTools.hex (project.window.background, 6);
context.WIN_FLASHBACKGROUND = project.window.background != null ? StringTools.hex (project.window.background, 6) : "0xFFFFFF";
var assets:Array <Dynamic> = cast context.assets;
for (asset in assets) {