From 2396cef9ef9692f84c427d6a28d87019707313d8 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 22 Feb 2018 09:15:16 +0300 Subject: [PATCH] Constantly getting "cart not created" message #538 --- src/console.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index eb41b1f..0035814 100644 --- a/src/console.c +++ b/src/console.c @@ -1183,7 +1183,11 @@ static void onConsoleNewCommandConfirmed(Console* console, const char* param) } #if defined(TIC_BUILD_WITH_LUA) - else loadDemo(console, LuaScript); + else + { + loadDemo(console, LuaScript); + done = true; + } #endif if(done) printBack(console, "\nnew cart is created");