Constantly getting "cart not created" message #538

This commit is contained in:
BADIM-PC\Vadim 2018-02-22 09:15:16 +03:00
parent 62c924531b
commit 2396cef9ef
1 changed files with 5 additions and 1 deletions

View File

@ -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");