We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 779ae8a commit bd9499dCopy full SHA for bd9499d
1 file changed
src/fantasy_forge/main.py
@@ -84,9 +84,7 @@ def main():
84
):
85
if name_input:
86
player_name = name_input
87
- config["name"] = name_input
88
- with usr_config_file.open("w") as config_file:
89
- toml.dump(config, config_file)
+ setattr(config, 'name', name_input)
90
print(
91
world.l10n.format_value(
92
"character-name-change-successful", {"chosen_name": name_input}
0 commit comments