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

@@ -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);
}