Skip to content

Commit

Permalink
Fix levelid serializing
Browse files Browse the repository at this point in the history
  • Loading branch information
Metalit committed Jun 11, 2024
1 parent c3289da commit 7325da2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/Types/BPList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ namespace PlaylistCore {
SERIALIZE_ACTION(id_hash,
if (!self->LevelID_Opt)
jsonObject.AddMember("levelid", self->LevelID, allocator);
else
jsonObject["levelid"].SetString(self->LevelID, allocator);
)
public:
std::string LevelID;
Expand Down

0 comments on commit 7325da2

Please sign in to comment.