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)