스킨 목록은 리플레이를 열 때마다 새로 받음 (그사이 뽑힌 스킨이 보이게) · 없는 스킨 요청을 100개씩 나눠 전부 · 맵 · 스킨 타이머를 OnCalendar 로 02:00~07:00 제외 (맵 타이머 Persistent · OnBootSec 뺌) · 테스트

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-11-20 22:32:01 +09:00
parent 200dbceece
commit fa9929145e
4 changed files with 49 additions and 29 deletions

View File

@@ -391,10 +391,12 @@ export default function ReplayViewer({ m, replay, sync }: Props) {
const skinByPlayer = skinTracks(replay);
let skinIdx: Awaited<ReturnType<typeof loadSkins>> = null;
if (replay.skins?.length) {
// 열 때마다 새 목록 (그사이 뽑힌 스킨이 보이게)
void loadSkins().then((ix) => {
if (!disposed) skinIdx = ix;
if (disposed || !ix) return;
skinIdx = ix;
void requestMissing(ix, replay);
});
void requestMissing(replay);
}
const skinLookAt = (p: number, t: number) => {
const s = equipAt(skinByPlayer[p], t);