1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00
This commit is contained in:
AlexVinS
2021-02-15 15:03:32 +03:00
parent ecaa9f5d0b
commit a59e12ca5f
6 changed files with 15 additions and 12 deletions

View File

@ -1773,7 +1773,7 @@ void CGScholar::serializeJsonOptions(JsonSerializeFormat & handler)
handler.serializeString("rewardSkill", value);
break;
case SPELL:
value = VLC->spellh->objects.at(bonusID)->identifier;
value = SpellID::encode(bonusID);
handler.serializeString("rewardSpell", value);
break;
case RANDOM: