Skip to content

Commit

Permalink
Update iologindata.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Mar 14, 2024
1 parent 17851c7 commit e447d8d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/io/iologindata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,14 @@ bool IOLoginData::savePlayerGuard(std::shared_ptr<Player> player) {
throw DatabaseException("[IOLoginDataSave::savePlayerStorage] - Failed to save player storage: " + player->getName());
}

if (!IOLoginDataSave::savePlayerOutfits(player)) {
throw DatabaseException("[IOLoginDataSave::savePlayerOutfits] - Failed to save player outfits: " + player->getName());
}

if (!IOLoginDataSave::savePlayerMounts(player)) {
throw DatabaseException("[IOLoginDataSave::savePlayerMounts] - Failed to save player mounts: " + player->getName());
}

return true;
}

Expand Down

0 comments on commit e447d8d

Please sign in to comment.