It seems that lines 124-126 replace this by having the player go to the pause menu instead, so I think it should be removed...