replay/play: fix --rereplay mode

This commit is contained in:
Andrei Alexeyev 2023-06-15 03:23:30 +02:00
parent e949419941
commit e74c3f60ea
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -70,7 +70,6 @@ static void replay_do_play(CallChainResult ccr) {
assume(rstg != NULL);
replay_state_init_play(&global.replay.input, rpy, rstg);
global.replay.input.play.demo_mode = ctx->demo_mode;
replay_state_deinit(&global.replay.output);
global.plr.mode = plrmode_find(rstg->plr_char, rstg->plr_shot);
res_group_release(&ctx->rg);
stage_enter(stginfo, &ctx->rg, CALLCHAIN(replay_do_post_play, ctx));