Skip to content

Commit

Permalink
chore: update special thanks list
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmagic2020 committed Jun 22, 2024
1 parent e92b72b commit 09bd640
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions src/common/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ namespace DynamicDashboard {
"Basssiiie",
"Marcel Vos",
"Isoitiro",
"Manticore_007"
"Manticore_007",
"the OpenRCT2 Developer Team",
"the OpenRCT2 Community"
]
export const specialThanksWrapped: string = specialThanks.reduce(
(acc, cur, i) => {
if (i === specialThanks.length - 1) {
if (i % 3 === 0) {
return acc + "\nand " + cur
}
return acc + ", and " + cur
if (i === specialThanks.length - 2) {
return acc + ",\n" + cur
} else if (i === specialThanks.length - 1) {
return acc + ",\nand " + cur
} else {
if (i % 3 === 0) {
return acc + "\n" + cur
Expand Down
2 changes: 1 addition & 1 deletion src/ui/advanced/tabs/tab_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const tab_info = function () {
text: language.ui.advanced.tabs.info.label.special_thanks
}),
label({
height: 28,
height: 14 * 3,
text: "{WHITE}" + DynamicDashboard.specialThanksWrapped
})
]),
Expand Down

0 comments on commit 09bd640

Please sign in to comment.