Player.prototype = Object.create(BasePlayer.prototype);
Player.prototype.constructor = Player;

/**
 * Player
 *
 * @param {SocketClient} client
 * @param {String} name
 * @param {String} color
 */
function Player(client, name, color, mail)
{
    BasePlayer.call(this, client, name, color, mail);
}
@@ -1,100 +1,4 @@
-Player.prototype = Object.create(BasePlayer.prototype);%0APlayer.prototype.constructor = Player;%0A%0A
 /**%0A
@@ -195,8 +195,104 @@
 mail);%0A%7D
+%0A%0APlayer.prototype = Object.create(BasePlayer.prototype);%0APlayer.prototype.constructor = Player;

move prototype after constructor definition