Skip to content

Commit

Permalink
Rename field
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Aug 14, 2024
1 parent 5e10ea4 commit 6b26616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/open_samus_returns_rando/files/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
"properties": {
"babyhatchling": {
"properties": {
"size": {
"model_scale": {
"description": "Size of the Baby Metroid.",
"type": "number",
"minimum": 0.1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def patch_actor_attributes(editor: PatcherEditor, configuration: dict) -> None:

def _custom_baby_size(editor: PatcherEditor, configuration: dict) -> None:
baby = editor.get_file("actors/characters/babyhatchling/charclasses/babyhatchling.bmsad", Bmsad)
baby.raw["header"]["model_scale"] = configuration["babyhatchling"]["size"]
baby.raw["header"]["model_scale"] = configuration["babyhatchling"]["model_scale"]

0 comments on commit 6b26616

Please sign in to comment.