Commit dfe227b1 authored by Chunchi Che's avatar Chunchi Che

optimize replay

parent da4a764e
Pipeline #23456 passed with stages
in 18 minutes and 11 seconds
......@@ -91,12 +91,11 @@ async function _handle(e: MessageEvent) {
break;
}
case "stoc_game_msg": {
await handleGameMsg(pb);
if (!replayStore.isReplay) {
// 如果不是回放模式,则记录回放数据
replayStore.record(packet);
}
await handleGameMsg(pb);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment