Fixes an issue with changelog generation where the default lines would be included in the logs (#60736)

* In theory this should fix a bug MSO had in coderbus

* Apparently I am a very stupid cat
This commit is contained in:
NamelessFairy
2021-08-08 20:05:13 +01:00
committed by GitHub
parent a45e895261
commit c17da35970
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
:cl: :cl:
add: Added new mechanics or gameplay changes add: Added new mechanics or gameplay changes
add: Added more things add: Added more things
expansion: Expands content of an existing thing expansion: Expands content of an existing feature
del: Removed old things del: Removed old things
qol: made something easier to use qol: made something easier to use
balance: rebalanced something balance: rebalanced something

View File

@@ -697,7 +697,7 @@ function checkchangelog($payload, $compile = true) {
case 'add': case 'add':
case 'adds': case 'adds':
case 'rscadd': case 'rscadd':
if($item != 'Added new things' && $item != 'Added more things') { if($item != 'Added new mechanics or gameplay changes' && $item != 'Added more things') {
$tags[] = 'Mechanic'; $tags[] = 'Mechanic';
$currentchangelogblock[] = array('type' => 'rscadd', 'body' => $item); $currentchangelogblock[] = array('type' => 'rscadd', 'body' => $item);
} }