Use shorter name for unnamed player

This commit is contained in:
Deve 2018-12-25 01:10:30 +01:00
parent e6081e64b2
commit dba4d05852

View File

@ -361,7 +361,7 @@ void PlayerManager::enforceCurrentPlayer()
*/
void PlayerManager::addDefaultPlayer()
{
std::string username = "unnamed player";
std::string username = "Player";
if(getenv("USERNAME")!=NULL) // for windows
username = getenv("USERNAME");