fix(ascension): UserId 접근을 PlayerComponent.UserId로 (빌드 경고 2건 해소)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-12 14:11:48 +09:00
parent b635cb3a63
commit 2c28935d95
2 changed files with 4 additions and 4 deletions

View File

@@ -2467,7 +2467,7 @@ function writeCodeblocks() {
method('OnBeginPlay', `self:ShowMainMenu()
local lp = _UserService.LocalPlayer
if lp ~= nil then
self:ReqLoadAscension(lp.UserId)
self:ReqLoadAscension(lp.PlayerComponent.UserId)
end`),
method('ReqLoadAscension', `local ds = _DataStorageService:GetUserDataStorage(userId)
local errCode, value = ds:GetAndWait("ascensionUnlocked")
@@ -3738,7 +3738,7 @@ if text == "런 클리어!" and self.AscensionLevel >= self.AscensionUnlocked an
self.AscensionUnlocked = self.AscensionUnlocked + 1
local lp = _UserService.LocalPlayer
if lp ~= nil then
self:SaveAscension(self.AscensionUnlocked, lp.UserId)
self:SaveAscension(self.AscensionUnlocked, lp.PlayerComponent.UserId)
end
self:RenderAscension()
msg = "런 클리어! 승천 " .. string.format("%d", self.AscensionUnlocked) .. " 해금!"