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});"; }