Fix console msg for set player skin

This commit is contained in:
Vortrex
2021-02-20 20:09:52 -06:00
parent 7475c9d7ee
commit 0abbbf2c51

View File

@@ -161,7 +161,7 @@ function removePlayerFromVehicle(client) {
// ---------------------------------------------------------------------------
function setPlayerSkin(client, skin) {
logToConsole(LOG_DEBUG, `Setting ${getPlayerDisplayForConsole(client)}'s skin to ${skin} (${getGameData().skinNames[getServerGame()][skin]})`);
logToConsole(LOG_DEBUG, `Setting ${getPlayerDisplayForConsole(client)}'s skin to ${skin} (${getSkinNameFromId(skin)})`);
client.player.modelIndex = skin;
}