Plus -> + for specs

This commit is contained in:
Mashy
2019-10-23 09:06:49 +10:00
parent 8ac1b964b8
commit 9590f1668d
3 changed files with 5 additions and 7 deletions
+2 -1
View File
@@ -152,10 +152,11 @@ function InfoComponent(args) {
: false;
const itemRegEx = /(Red|Blue|Green)/;
const itemSourceDescription = reactStringReplace(itemSourceInfo, itemRegEx, match => shapes[match]());
const infoText = info.replace('Plus', '+');
return (
<div class="info-spec">
<h2>{info} - {fullInfo.cost}b</h2>
<h2>{infoText} - {fullInfo.cost}b</h2>
<h3>SPEC</h3>
{itemSourceDescription}
<div>{infoDescription}</div>
+1
View File
@@ -370,6 +370,7 @@ function Vbox(args) {
return true;
}));
comboItem = comboItemObj ? comboItemObj.item : 'refine';
comboItem = comboItem.replace('Plus', '+');
text = `Combine - ${comboItem}`;
}