parse german floating point numbers correctly

This commit is contained in:
Leon M. George 2017-07-30 19:54:50 +02:00
parent 680d43615e
commit 6c78b68015

View File

@ -1225,6 +1225,8 @@ function HealBot_InitGetSpellData(spell, id, class)
HB_cast = 0;
elseif ( tmpText ) then
tmpTest,tmpTest,HB_cast = string.find(line, HB_TOOLTIP_CAST_TIME );
-- Germans separate using comma
HB_cast = string.gsub(HB_cast, ",", ".")
end
else
HealBot_Report_Error( "================================" );