From 2c28935d95568d74bf5ff20e0c2133ed6b2d1516 Mon Sep 17 00:00:00 2001 From: gahusb Date: Fri, 12 Jun 2026 14:11:48 +0900 Subject: [PATCH] =?UTF-8?q?fix(ascension):=20UserId=20=EC=A0=91=EA=B7=BC?= =?UTF-8?q?=EC=9D=84=20PlayerComponent.UserId=EB=A1=9C=20(=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=EA=B2=BD=EA=B3=A0=202=EA=B1=B4=20=ED=95=B4?= =?UTF-8?q?=EC=86=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- RootDesk/MyDesk/SlayDeckController.codeblock | 4 ++-- tools/deck/gen-slaydeck.mjs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RootDesk/MyDesk/SlayDeckController.codeblock b/RootDesk/MyDesk/SlayDeckController.codeblock index d4263f7..82f3aa0 100644 --- a/RootDesk/MyDesk/SlayDeckController.codeblock +++ b/RootDesk/MyDesk/SlayDeckController.codeblock @@ -544,7 +544,7 @@ "Name": null }, "Arguments": [], - "Code": "self:ShowMainMenu()\nlocal lp = _UserService.LocalPlayer\nif lp ~= nil then\n\tself:ReqLoadAscension(lp.UserId)\nend", + "Code": "self:ShowMainMenu()\nlocal lp = _UserService.LocalPlayer\nif lp ~= nil then\n\tself:ReqLoadAscension(lp.PlayerComponent.UserId)\nend", "Scope": 2, "ExecSpace": 6, "Attributes": [], @@ -2043,7 +2043,7 @@ "Name": "text" } ], - "Code": "local msg = text\nif text == \"런 클리어!\" and self.AscensionLevel >= self.AscensionUnlocked and self.AscensionUnlocked < 10 then\n\tself.AscensionUnlocked = self.AscensionUnlocked + 1\n\tlocal lp = _UserService.LocalPlayer\n\tif lp ~= nil then\n\t\tself:SaveAscension(self.AscensionUnlocked, lp.UserId)\n\tend\n\tself:RenderAscension()\n\tmsg = \"런 클리어! 승천 \" .. string.format(\"%d\", self.AscensionUnlocked) .. \" 해금!\"\nend\nself:ShowResult(msg)\nself.RunActive = false\n_TimerService:SetTimerOnce(function() self:ShowMainMenu() end, 4)", + "Code": "local msg = text\nif text == \"런 클리어!\" and self.AscensionLevel >= self.AscensionUnlocked and self.AscensionUnlocked < 10 then\n\tself.AscensionUnlocked = self.AscensionUnlocked + 1\n\tlocal lp = _UserService.LocalPlayer\n\tif lp ~= nil then\n\t\tself:SaveAscension(self.AscensionUnlocked, lp.PlayerComponent.UserId)\n\tend\n\tself:RenderAscension()\n\tmsg = \"런 클리어! 승천 \" .. string.format(\"%d\", self.AscensionUnlocked) .. \" 해금!\"\nend\nself:ShowResult(msg)\nself.RunActive = false\n_TimerService:SetTimerOnce(function() self:ShowMainMenu() end, 4)", "Scope": 2, "ExecSpace": 6, "Attributes": [], diff --git a/tools/deck/gen-slaydeck.mjs b/tools/deck/gen-slaydeck.mjs index a694e42..b6490f1 100644 --- a/tools/deck/gen-slaydeck.mjs +++ b/tools/deck/gen-slaydeck.mjs @@ -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) .. " 해금!"