Fix player save data issue & multiple username implementations (#257)

* fix saving issue & multiple username implementations

* Update README.md

Updated the method for overriding in-game username from '-name' to 'username.txt'.

* remove unused include i forgot to get rid of while testing
This commit is contained in:
Slenderman 2026-03-03 11:58:22 -05:00 committed by GitHub
parent 5c91c26086
commit 515f91cad8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 50 deletions

View file

@ -1978,7 +1978,7 @@ bool CGameNetworkManager::AllowedToPlayMultiplayer(int playerIdx)
return ProfileManager.AllowedToPlayMultiplayer(playerIdx);
}
char *CGameNetworkManager::GetOnlineName(int playerIdx)
const char *CGameNetworkManager::GetOnlineName(int playerIdx)
{
return ProfileManager.GetGamertag(playerIdx);
}