From bd6936734a5e7ef3a34e29491caae467c2932e95 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Sat, 15 May 2021 12:00:21 -0400 Subject: [PATCH] polymooooood shoutouts laaarsssss --- source/Main.hx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/source/Main.hx b/source/Main.hx index b214a6d87..289a3c245 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -47,13 +47,22 @@ class Main extends Sprite frameworkParams: { assetLibraryPaths: [ "songs" => "songs", "shared" => "shared", "tutorial" => "tutorial", "week1" => "week1", "week2" => "week2", "week3" => "week3", - "week4" => "week4", "week5" => "week5", "week6" => "week6", "week7" => "week7" + "week4" => "week4", "week5" => "week5", "week6" => "week6", "week7" => "week7", "tanky" => "tanky", "tankBG" => "tankBG" ] }, - framework: OPENFL + framework: OPENFL, + errorCallback: function(error:polymod.Polymod.PolymodError) + { + trace("POLYMOD ERROR! code = " + + error.code + + " severity = " + + error.severity + + " origin = " + + error.origin + + " message = " + + error.message); + } }); - - trace('polymod setup SHIII'); #end if (stage != null)