mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-12 21:14:41 -04:00
fix GeodeSquareSprite screwing up texture cache
This commit is contained in:
parent
63d4e49eda
commit
b1a21ad5f1
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ bool GeodeSquareSprite::init(CCSprite* top, bool* state) {
|
|||
void GeodeSquareSprite::updateImage() {
|
||||
this->setTexture(CCTextureCache::get()->addImage(
|
||||
(m_state ? "GJ_button_02.png" : (isGeodeTheme() ? "GE_button_05.png"_spr : "GJ_button_01.png")),
|
||||
true
|
||||
false
|
||||
));
|
||||
}
|
||||
void GeodeSquareSprite::update(float dt) {
|
||||
|
|
Loading…
Add table
Reference in a new issue