File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ bool AvalancheFeatured::setup() {
209209 projThumb->setPosition ({ m_mainLayer->getContentWidth () / 2 .f , m_mainLayer->getContentHeight () / 2 .f });
210210
211211 projThumb->setLoadCallback ([this , projThumb](Result<> res) {
212- if (res) {
212+ if (res. isOk () ) {
213213 // Success: scale and position the sprite
214214 AVAL_LOG_INFO (" Sprite loaded successfully" );
215215 } else {
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
413413 AVAL_LOG_DEBUG (" Custom thumbnail loaded, keeping position to center" );
414414 };
415415 } else {
416- AVAL_LOG_ERROR (" {}" , res.unwrapErr ());
416+ AVAL_LOG_ERROR (" Failed to get project thumbnail, {}" , res.unwrapErr ());
417417 projThumb->removeMeAndCleanup ();
418418 };
419419 });
You can’t perform that action at this time.
0 commit comments