Fixed confusion between player and logicPlayer