fix(lua): return false when transaction fails to start

This commit is contained in:
maybegreat48
2025-06-28 16:03:47 -04:00
parent 6f2f8f5110
commit 55f4e297a0
@@ -138,7 +138,7 @@ namespace YimMenu::Lua
if (!txn || !txn->m_Running) if (!txn || !txn->m_Running)
{ {
lua_pushboolean(state, true); lua_pushboolean(state, false);
return 1; return 1;
} }