Fix: Lua script debugging loading problem

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
T.J. McGrath-Daly
2021-11-15 10:37:24 +08:00
parent bce5e36b53
commit 53429d838e
@@ -731,7 +731,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);