1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Event message meta string

This commit is contained in:
nordsoft
2023-09-27 23:28:17 +02:00
parent f9f79255c5
commit 00c8c2eb82
4 changed files with 7 additions and 6 deletions

View File

@ -59,7 +59,7 @@ bool CMapEvent::earlierThanOrEqual(const CMapEvent & other) const
void CMapEvent::serializeJson(JsonSerializeFormat & handler)
{
handler.serializeString("name", name);
handler.serializeString("message", message);
handler.serializeStruct("message", message);
handler.serializeInt("players", players);
handler.serializeInt("humanAffected", humanAffected);
handler.serializeInt("computerAffected", computerAffected);