Skip to content

Commit e04a665

Browse files
committed
First morph gets the correct tooltip
1 parent 756c3b0 commit e04a665

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Zero-K.info/Views/Home/UnlockTooltip.cshtml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ Type: <span style='color:@u.LabelColor;'>@u.UnlockType.Description()</span><br/>
3636
<br />
3737
}
3838

39-
@if (u.MetalCost.HasValue) {
40-
@:Metal cost: @Html.PrintMetal(u.MetalCost)<br/>
41-
}
42-
4339
@if (u.MetalCostMorph2.HasValue) {
40+
@:Level 1 -> 2 upgrade cost: @Html.PrintMetal(u.MetalCost)<br/>
4441
@:Level 2 -> 3 upgrade cost: @Html.PrintMetal(u.MetalCostMorph2)<br/>
42+
} else if (u.MetalCost.HasValue) {
43+
@:Metal cost: @Html.PrintMetal(u.MetalCost)<br/>
4544
}
4645

4746
@if (u.MetalCostMorph3.HasValue) {

0 commit comments

Comments
 (0)