From 69bbcfbc40154c041389b3a30cf3282201af8008 Mon Sep 17 00:00:00 2001 From: Beu Date: Wed, 27 Sep 2023 17:55:40 +0200 Subject: [PATCH] fix profile variable --- libs/FML/Script/Features/PlayerProfile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/FML/Script/Features/PlayerProfile.php b/libs/FML/Script/Features/PlayerProfile.php index 8951f3e9..6cfa0ea9 100644 --- a/libs/FML/Script/Features/PlayerProfile.php +++ b/libs/FML/Script/Features/PlayerProfile.php @@ -181,8 +181,8 @@ class PlayerProfile extends ScriptFeature $login = Builder::escapeText($this->login); if ($this->titleId == "Trackmania") { - $apicall = "declare Text LibTMxSMRaceScoresTable_OpenProfileLogin for ClientUI = \"\"; - LibTMxSMRaceScoresTable_OpenProfileLogin = {$login};"; + $apicall = "declare Text TMGame_ScoresTable_OpenProfileUserId for ClientUI = \"\"; + TMGame_ScoresTable_OpenProfileUserId = {$login};"; } else { $apicall = "ShowProfile({$login});"; }