Uncommented player teleportation code