Skip to content

Commit

Permalink
fix: parses additional label for wedding spell
Browse files Browse the repository at this point in the history
  • Loading branch information
Potusek committed Jul 5, 2021
1 parent c7c3856 commit 004ea45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/GRCRTConverterCtrl.js
Expand Up @@ -1846,7 +1846,7 @@ function _GRCRTConverterCtrl(wnd) {
report.power = RepConvTool.Adds(RepConv.Const.staticImg + _content.find($('div#report_power_symbol')).attr('class').replace(/power_icon86x86 (.*)/, '$1') + '_30x30.png', "img");

report.powerinfo = {};
report.powerinfo.id = _content.find($('div#report_power_symbol')).attr('class').replace(/power_icon86x86 (.*)/, '$1');
report.powerinfo.id = _content.find($('div#report_power_symbol')).attr('class').replace(/power_icon86x86 (.*)/, '$1').split(' ')[0];
switch (report.powerinfo.id) {
case "happiness" :
case "fertility_improvement" :
Expand Down

0 comments on commit 004ea45

Please sign in to comment.