Fix get player from args

This commit is contained in:
Vortrex
2020-12-27 22:27:24 -06:00
parent 1ac9e257c6
commit 5a59ad4245

View File

@@ -780,7 +780,7 @@ function getPlayerFromParams(params) {
} else {
let playerId = toInteger(params) || 0;
if(typeof clients[playerId] != "undefined") {
return clients[playerId].player;
return clients[playerId];
}
}