Fixed dynamic asset loading.

This commit is contained in:
2022-12-16 09:04:12 -08:00
parent 71dbf6e646
commit 4090e61406
7 changed files with 29 additions and 4 deletions

View File

@ -89,6 +89,7 @@ void UILabel::setTransform(
}
void UILabel::onLanguageUpdated() {
std::cout << "LANG UPDATED" << std::endl;
this->needsRebuffering = true;
if(key.size() > 0 && this->getGame()->localeManager.getString(key).size()>0){
this->hasText = true;