Skip to content

Commit bd9499d

Browse files
committed
fixed issue #50
1 parent 779ae8a commit bd9499d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/fantasy_forge/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ def main():
8484
):
8585
if name_input:
8686
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)
87+
setattr(config, 'name', name_input)
9088
print(
9189
world.l10n.format_value(
9290
"character-name-change-successful", {"chosen_name": name_input}

0 commit comments

Comments
 (0)