fix profile variable

This commit is contained in:
Beu 2023-09-27 17:55:40 +02:00
parent 4bcbda64d6
commit 69bbcfbc40

View File

@ -181,8 +181,8 @@ class PlayerProfile extends ScriptFeature
$login = Builder::escapeText($this->login); $login = Builder::escapeText($this->login);
if ($this->titleId == "Trackmania") { if ($this->titleId == "Trackmania") {
$apicall = "declare Text LibTMxSMRaceScoresTable_OpenProfileLogin for ClientUI = \"\"; $apicall = "declare Text TMGame_ScoresTable_OpenProfileUserId for ClientUI = \"\";
LibTMxSMRaceScoresTable_OpenProfileLogin = {$login};"; TMGame_ScoresTable_OpenProfileUserId = {$login};";
} else { } else {
$apicall = "ShowProfile({$login});"; $apicall = "ShowProfile({$login});";
} }