Skip to content

Commit

Permalink
fix comment alert shown property not saving properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jun 11, 2023
1 parent 7461645 commit 3b38ce2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/objects/FLAlertResultHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void FLAlertResultHandler::FLAlert_Clicked(gd::FLAlertLayer*, bool success) {

bool FLAlertResultHandler::init(){
CvoltonManager::sharedState()->setOption("comment_id_alert_shown", true);
CvoltonManager::sharedState()->save();

return CCNode::init();
}

0 comments on commit 3b38ce2

Please sign in to comment.