mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
check for texture loader's fallback
This commit is contained in:
parent
626a65cb38
commit
a421047d16
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ protected:
|
|||
m_sprite->removeFromParent();
|
||||
}
|
||||
// Fallback to default logo if the sprite is null
|
||||
if (!sprite) {
|
||||
if (!sprite || sprite->getUserObject("geode.texture-loader/fallback")) {
|
||||
sprite = CCLabelBMFont::create("N/A", "bigFont.fnt");
|
||||
static_cast<CCLabelBMFont*>(sprite)->setOpacity(90);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue