Merge pull request #6328 from tjmgd/bug-lua-debugging-62

Fix: Lua script debugging loading problem
This commit is contained in:
Chris Galvan
2021-12-15 09:58:11 -06:00
committed by GitHub
@@ -738,7 +738,7 @@ void AZ::LuaHook(lua_State* l, lua_Debug* ar)
//}
}
if (doBreak)
if (doBreak && bp->m_lineNumber > 0)
{
context->m_luaDebug = ar;
context->m_breakCallback(context, bp);