Listview/Cost

* do not append 0 achievementpoints to cost builder. It will be displayed
This commit is contained in:
Sarjuuk
2025-10-15 21:51:04 +02:00
parent 95918c0410
commit 7d8b524478
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1 @@
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' globaljs');

View File

@@ -2572,7 +2572,6 @@ Listview.extraCols = {
var side = null; var side = null;
var items = row.cost[2]; var items = row.cost[2];
var currency = row.cost[1]; var currency = row.cost[1];
var achievementPoints = 0;
if (row.side != null) if (row.side != null)
side = row.side; side = row.side;
@@ -2584,7 +2583,7 @@ Listview.extraCols = {
side = 2; side = 2;
} }
Listview.funcBox.appendMoney(td, money, side, items, currency, achievementPoints); Listview.funcBox.appendMoney(td, money, side, items, currency);
} }
}, },
sortFunc: function(a, b, col) sortFunc: function(a, b, col)