fix(lobby): 로비 카드 도감용 Cards/Frames 테이블을 OnBeginPlay에 시드
- ShowCodex가 self.Cards를 순회하는데 런 시작 전(로비)엔 미설정이라 pairs(nil) 오류 → OnBeginPlay에서 luaCardsTable/luaFramesTable을 미리 주입(StartRun과 중복 무해) - 메이커 플레이테스트로 로비·도감·가로맵·전투(도적/메소아이콘/스킬아이콘) 전 루프 검증 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2827,7 +2827,9 @@ function writeCodeblocks() {
|
|||||||
prop('boolean', 'ChestOpened', 'false'),
|
prop('boolean', 'ChestOpened', 'false'),
|
||||||
prop('string', 'PlayerJob', '""'),
|
prop('string', 'PlayerJob', '""'),
|
||||||
], [
|
], [
|
||||||
method('OnBeginPlay', `${luaSoulShopTable(SOUL_UNLOCKS)}
|
method('OnBeginPlay', `${luaCardsTable(CARDS.cards)}
|
||||||
|
${luaFramesTable()}
|
||||||
|
${luaSoulShopTable(SOUL_UNLOCKS)}
|
||||||
self.SoulUnlocks = {}
|
self.SoulUnlocks = {}
|
||||||
self.SoulPoints = self.SoulPoints or 0
|
self.SoulPoints = self.SoulPoints or 0
|
||||||
self:ShowLobby()
|
self:ShowLobby()
|
||||||
|
|||||||
Reference in New Issue
Block a user