Skip to content

Commit e97a116

Browse files
committed
adjustments
1 parent ac41583 commit e97a116

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/headers/src/AvalancheFeatured.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

src/headers/src/ProjectInfoPopup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)