Remove extra line
This commit is contained in:
@@ -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!");
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
// TYPE: Server (JavaScript)
|
||||
// ===========================================================================
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
let serverBitFlags = {
|
||||
staffFlags: {},
|
||||
moderationFlags: {},
|
||||
|
||||
@@ -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!");
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user