Remove extra line
This commit is contained in:
@@ -7,8 +7,6 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
function initBanScript() {
|
function initBanScript() {
|
||||||
logToConsole(LOG_INFO, "[VRR.Ban]: Initializing ban script ...");
|
logToConsole(LOG_INFO, "[VRR.Ban]: Initializing ban script ...");
|
||||||
logToConsole(LOG_INFO, "[VRR.Ban]: Ban script initialized!");
|
logToConsole(LOG_INFO, "[VRR.Ban]: Ban script initialized!");
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
let serverBitFlags = {
|
let serverBitFlags = {
|
||||||
staffFlags: {},
|
staffFlags: {},
|
||||||
moderationFlags: {},
|
moderationFlags: {},
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
function initClassScript() {
|
function initClassScript() {
|
||||||
logToConsole(LOG_INFO, "[VRR.Class]: Initializing class script ...");
|
logToConsole(LOG_INFO, "[VRR.Class]: Initializing class script ...");
|
||||||
logToConsole(LOG_INFO, "[VRR.Class]: Class script initialized successfully!");
|
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) {
|
function isSnowSupported(gameId) {
|
||||||
return supportedFeatures.snow[getGame()];
|
return supportedFeatures.snow[getGame()];
|
||||||
}
|
}
|
||||||
@@ -1487,6 +1477,10 @@ function isGameFeatureSupported(featureName) {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function getAllowedSkins(gameId = getGame()) {
|
function getAllowedSkins(gameId = getGame()) {
|
||||||
|
logToConsole(getGame());
|
||||||
|
logToConsole(gameId);
|
||||||
|
logToConsole(typeof gameId);
|
||||||
|
|
||||||
return getGameConfig().skins[gameId].filter(skin => skin[2] == true);
|
return getGameConfig().skins[gameId].filter(skin => skin[2] == true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user