Updated references to shared properties

pull/57/head
MillenniumEarl 2020-12-03 11:35:24 +01:00
parent f7bb2b36cd
commit 0e47ab09b4
1 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ function getOverview(text, mod) {
* @return {Boolean} * @return {Boolean}
*/ */
function isEngine(prefix) { function isEngine(prefix) {
const engines = toUpperCaseArray(shared.engines); const engines = toUpperCaseArray(Object.values(shared.engines));
return engines.includes(prefix.toUpperCase()); return engines.includes(prefix.toUpperCase());
} }
@ -352,7 +352,7 @@ function isEngine(prefix) {
* @return {Boolean} * @return {Boolean}
*/ */
function isStatus(prefix) { function isStatus(prefix) {
const statuses = toUpperCaseArray(shared.statuses); const statuses = toUpperCaseArray(Object.values(shared.statuses));
return statuses.includes(prefix.toUpperCase()); return statuses.includes(prefix.toUpperCase());
} }