Change logic of playerQuit