diff --git a/Modding/Structs.html b/Modding/Structs.html index 7ff428b8..43ef93fc 100644 --- a/Modding/Structs.html +++ b/Modding/Structs.html @@ -155,7 +155,8 @@

Extracted Structs:

// Match the first word (struct name) const structNameMatch = struct.match(/^\s*(\w+)/); if (structNameMatch) { - const structName = structNameMatch[1].trim(); + let structName = structNameMatch[1].trim(); + if (structName == "LakeInfo") { structName = "BiomeInfo" } //Always gets this wrong. const membersOutput = []; let serializeLine = '';