1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix UI updates

This commit is contained in:
Ivan Savenko
2023-06-27 14:09:04 +03:00
parent cc91be3518
commit 96eab03b16
2 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ PlayerSettings * StartInfo::getPlayersSettings(const ui8 connectedPlayerId)
std::string StartInfo::getCampaignName() const
{
if(campState->getName().empty())
if(!campState->getName().empty())
return campState->getName();
else
return VLC->generaltexth->allTexts[508];