Use new player after do_switch

Fix crash in game #38362