diff --git a/src/Main.hx b/src/Main.hx index 5ac9b89..c97c7de 100644 --- a/src/Main.hx +++ b/src/Main.hx @@ -16,9 +16,13 @@ class Main extends hxd.App { root.btnContinueGame.onClick = function() { root.btnContinueGame.dom.addClass("highlight"); } - // root.btnQuit.onClick = function() { - // Sys.exit(0); - // } + #if hl + root.btnQuit.onClick = function() { + Sys.exit(0); + } + #else + root.btnQuit.remove(); + #end style = new h2d.domkit.Style(); style.load(hxd.Res.style);