mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 03:12:18 -05:00
fix: correctly parse custom nocturne warp text (#2116)
This was causing an issue where hints were not being properly parsed, because ParseHintLocationsFile was erroring out when trying to read from a part of the json that didn't exist. Since that method is using pokemon exception handling, it was failing silently. This just makes it so the key in the spoiler log matches the key we're trying to read (and brings it in line with the rest of the warp text names) Co-authored-by: briaguya <briaguya>
This commit is contained in:
parent
fa4ffb5913
commit
4a35b9e798
@ -638,7 +638,7 @@ static void WriteHints(int language) {
|
||||
jsonData["warpBoleroText"] = GetWarpBoleroText().GetEnglish();
|
||||
jsonData["warpSerenadeText"] = GetWarpSerenadeText().GetEnglish();
|
||||
jsonData["warpRequiemText"] = GetWarpRequiemText().GetEnglish();
|
||||
jsonData["warpNocturne"] = GetWarpNocturneText().GetEnglish();
|
||||
jsonData["warpNocturneText"] = GetWarpNocturneText().GetEnglish();
|
||||
jsonData["warpPreludeText"] = GetWarpPreludeText().GetEnglish();
|
||||
jsonData["childAltarText"] = GetChildAltarText().GetEnglish();
|
||||
jsonData["adultAltarText"] = GetAdultAltarText().GetEnglish();
|
||||
@ -650,7 +650,7 @@ static void WriteHints(int language) {
|
||||
jsonData["warpBoleroText"] = GetWarpBoleroText().GetFrench();
|
||||
jsonData["warpSerenadeText"] = GetWarpSerenadeText().GetFrench();
|
||||
jsonData["warpRequiemText"] = GetWarpRequiemText().GetFrench();
|
||||
jsonData["warpNocturne"] = GetWarpNocturneText().GetFrench();
|
||||
jsonData["warpNocturneText"] = GetWarpNocturneText().GetFrench();
|
||||
jsonData["warpPreludeText"] = GetWarpPreludeText().GetFrench();
|
||||
jsonData["childAltarText"] = GetChildAltarText().GetFrench();
|
||||
jsonData["adultAltarText"] = GetAdultAltarText().GetFrench();
|
||||
|
Loading…
Reference in New Issue
Block a user