Merge branch 'main' of https://github.com/geode-sdk/geode into main

This commit is contained in:
camila314 2022-11-30 10:52:19 -06:00
commit 3ec28e7420

View file

@ -23,7 +23,7 @@ bool Notification::init(std::string const& text, CCSprite* icon, float time) {
m_label->setScale(.6f);
m_bg->addChild(m_label);
if (m_icon = icon) {
if ((m_icon = icon)) {
m_bg->addChild(icon);
}