fix profile variable

This commit is contained in:
Beu 2023-09-27 17:55:40 +02:00
parent 4bcbda64d6
commit 69bbcfbc40
1 changed files with 2 additions and 2 deletions

View File

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