Fixed typo in player_teleport. (Fixes bug 2797)