Fix unknown timelord when off air

This commit is contained in:
Matthew Stratford 2021-08-09 22:06:19 +01:00 committed by GitHub
parent c6b744dbf5
commit ed961daa43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ export function Timelord() {
];
let sourceName = "Unknown";
if (studio > 0 && studio < sourceNames.length) {
if (studio > 0 && studio <= sourceNames.length) {
sourceName = sourceNames[studio - 1];
}