Remove extra line

This commit is contained in:
Vortrex
2022-04-26 10:19:20 -05:00
parent 0e3b30725f
commit eb3c3e078e
4 changed files with 4 additions and 16 deletions

View File

@@ -7,8 +7,6 @@
// TYPE: Server (JavaScript)
// ===========================================================================
// ===========================================================================
function initBanScript() {
logToConsole(LOG_INFO, "[VRR.Ban]: Initializing ban script ...");
logToConsole(LOG_INFO, "[VRR.Ban]: Ban script initialized!");

View File

@@ -7,8 +7,6 @@
// TYPE: Server (JavaScript)
// ===========================================================================
// ===========================================================================
let serverBitFlags = {
staffFlags: {},
moderationFlags: {},

View File

@@ -7,8 +7,6 @@
// TYPE: Server (JavaScript)
// ===========================================================================
// ===========================================================================
function initClassScript() {
logToConsole(LOG_INFO, "[VRR.Class]: Initializing class script ...");
logToConsole(LOG_INFO, "[VRR.Class]: Class script initialized successfully!");

View File

@@ -1398,16 +1398,6 @@ function getMultiplayerMod() {
// ===========================================================================
function getGame() {
if(isServerScript()) {
return server.game;
} else {
return game.game;
}
}
// ===========================================================================
function isSnowSupported(gameId) {
return supportedFeatures.snow[getGame()];
}
@@ -1487,6 +1477,10 @@ function isGameFeatureSupported(featureName) {
// ===========================================================================
function getAllowedSkins(gameId = getGame()) {
logToConsole(getGame());
logToConsole(gameId);
logToConsole(typeof gameId);
return getGameConfig().skins[gameId].filter(skin => skin[2] == true);
}