Fix spawnplayer function