From 2b60054466a2b0aeec01d8aace8ffdb7004e8ac0 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Fri, 5 Jul 2024 18:06:59 +0200 Subject: [PATCH] =?UTF-8?q?-=20[FIX]=20El=20editor=20ha=20de=20comen=C3=A7?= =?UTF-8?q?ar=20en=20el=20m=C3=B2dul=20GAME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 5dbebd7..14b30dd 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -26,7 +26,12 @@ void game::init() draw::loadPalette("test.gif"); - modules::logo::init(); + if (editor::isDevMode()) { + current_module = M_GAME; + modules::game::init(); + + } else + modules::logo::init(); } bool game::loop()