diff --git a/src/iologindata.cpp b/src/iologindata.cpp index 3a52c64..74c6f88 100644 --- a/src/iologindata.cpp +++ b/src/iologindata.cpp @@ -781,6 +781,7 @@ bool IOLoginData::savePlayer(Player* player) query.str(std::string()); DBInsert storageQuery("INSERT INTO `player_storage` (`player_id`, `key`, `value`) VALUES "); + player->genReservedStorageRange(); for (const auto& it : player->storageMap) { query << player->getGUID() << ',' << it.first << ',' << it.second;