use of get<some name> methods that already return nulls/false when attempting to load

in contexts where we would want to try first (pt2)
This commit is contained in:
AzaezelX 2025-05-28 17:45:02 -05:00
parent 40974dd14b
commit 8bd145d54f
7 changed files with 17 additions and 25 deletions

View file

@ -367,7 +367,7 @@ void LevelInfo::_onLMActivate(const char *lm, bool enable)
void LevelInfo::setLevelAccuTexture()
{
if (isClientObject() && mAccuTextureAsset.notNull())
if (isClientObject() && getAccuTexture())
{
gLevelAccuMap = getAccuTexture();
}