only render password i it's length exceeds one

This commit is contained in:
Felix Salcher 2025-06-24 11:03:36 +02:00
parent 00c39a8e55
commit 4d6b766e3a
No known key found for this signature in database

View file

@ -380,7 +380,7 @@ bool CPasswordInputField::draw(const SRenderData& data) {
fontCol.a = DOTALPHA;
}
} else {
} else if (password.content.length() > 0) {
password.asset = g_pRenderer->asyncResourceGatherer->getAssetByID(password.resourceID);
if (password.asset) {