diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-13 19:21:49 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-13 19:21:49 -0800 |
| commit | a80c7c8339e5074e7883469b3eb4739d8867f09d (patch) | |
| tree | 3ea23eb90a6280113b65f0f084eb879a760a617f | |
| parent | 73990947bd8c1940551f168eedc090b01d31ac95 (diff) | |
| download | gpt-adventure-a80c7c8339e5074e7883469b3eb4739d8867f09d.tar.zst | |
Fix save corruption issue with custom characters.
| -rwxr-xr-x | gpt_adventure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt_adventure.py b/gpt_adventure.py index 9f93d5f..65ff09c 100755 --- a/gpt_adventure.py +++ b/gpt_adventure.py @@ -152,7 +152,7 @@ def pick_flavor() -> State: if choice_int == len(flavors): name = input("Enter your character's name: ") bio = input("Enter your character's persona: ") - return State(Persona(name, bio), []) + return State(Persona(name, bio), "") try: return flavors[choice_int] except IndexError: |
