Fixed NT Frontier discounts not applying (#85351)

## About The Pull Request

Closes #85234

There was a check in place to ensure that no node gets reduced below 250
cost. It made sense when nodes costed up to 10000 points... but now the
maximum cost is 200. Into the recycler it goes.

## Changelog
🆑
fix: Fixed NT Frontier discounts not applying
/🆑
This commit is contained in:
SmArtKar
2024-07-31 19:15:46 +03:00
committed by GitHub
parent 37029f15d2
commit 32ca904e47
@@ -90,8 +90,7 @@
var/list/boostlist = host.boosted_nodes[id]
for(var/booster in boostlist)
if(actual_costs[booster])
var/delta = max(0, actual_costs[booster] - 250)
actual_costs[booster] -= min(boostlist[booster], delta)
actual_costs[booster] = max(actual_costs[booster] - boostlist[booster], 0)
return actual_costs