Use chat list index colour for radio stations

This commit is contained in:
Vortrex
2023-02-18 14:39:14 -06:00
parent 441eaca65d
commit 902072b6a2

View File

@@ -242,7 +242,7 @@ function getPlayerStreamingRadioVolume(client) {
*
*/
function showRadioStationListCommand(command, params, client) {
let stationList = getServerData().radioStations.map(function (x) { return `{ALTCOLOUR}${toInteger(x.index) + 1}: {MAINCOLOUR}${x.name}`; });
let stationList = getServerData().radioStations.map(function (x) { return `{chatBoxListIndex}${toInteger(x.index) + 1}: {MAINCOLOUR}${x.name}`; });
let chunkedList = splitArrayIntoChunks(stationList, 4);