* Update the user's name.

This commit is contained in:
iProgramInCpp
2023-08-05 21:15:31 +03:00
parent eaa90a6f95
commit 5b1aaf7e99

View File

@@ -140,6 +140,9 @@ void Minecraft::onGraphicsReset()
void Minecraft::reloadOptions()
{
m_options.update(platform()->getOptionStrings());
// update the user's name.
m_pUser->field_0 = m_options.m_playerName;
}
bool Minecraft::isLevelGenerated()