mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
Change default character on character variation key from 'Mario' to 'default' (#623)
A very simple 1 line change that just fixes the character variation key which characters use as a default to use a proper "default" key rather than just Mario's. May require some JSON changes, but I'll check around and make sure to fix what I can find.
This commit is contained in:
parent
b1f6024fa7
commit
ac41fbf121
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ func get_variation_json(json := {}) -> Dictionary:
|
|||
|
||||
var chara = "Character:" + Player.CHARACTERS[int(Global.player_characters[0])]
|
||||
if json.has(chara) == false:
|
||||
chara = "Character:Mario"
|
||||
chara = "Character:default"
|
||||
if json.has(chara):
|
||||
if json.get(chara).has("link"):
|
||||
json = get_variation_json(json[json.get(chara).get("link")])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue