Closed seyguai closed 9 years ago
l67: if( enemy != undefined && nClickGoldPct > 0 && enemy.m_data.hp > 0)
if( enemy != undefined && nClickGoldPct > 0 && enemy.m_data.hp > 0)
m_data is never checked, which makes the script fails when undefined.
m_data
undefined
This has been fixed.
l67:
if( enemy != undefined && nClickGoldPct > 0 && enemy.m_data.hp > 0)
m_data
is never checked, which makes the script fails whenundefined
.