Skip to content
Snippets Groups Projects
Unverified Commit a7e7ff61 authored by shall0pass's avatar shall0pass Committed by GitHub
Browse files

Goals: Fix calculated fill when using multiple 'up to' statements in different...

Goals: Fix calculated fill when using multiple 'up to' statements in different priority levels (#1312)
parent 1031bbbc
No related branches found
No related tags found
No related merge requests found
...@@ -352,7 +352,7 @@ async function applyCategoryTemplate( ...@@ -352,7 +352,7 @@ async function applyCategoryTemplate(
} else { } else {
increment = limit; increment = limit;
} }
if (to_budget + increment < budgetAvailable || !priority) { if (increment < budgetAvailable || !priority) {
to_budget += increment; to_budget += increment;
} else { } else {
if (budgetAvailable > 0) to_budget += budgetAvailable; if (budgetAvailable > 0) to_budget += budgetAvailable;
......
---
category: Bugfix
authors: [shall0pass]
---
Goals: Fix calculated fill when using multiple 'up to' statements in different priority levels
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment