Love the game but I'm getting this error. And of course if you ignore it, it pops up in future conversations. Any tipes on how to fix it?
While running game code:
File "game/s1e8.rpy", line 2754, in script
summ "No worries. I take it [mc_relationships[gfname]] left?"
KeyError: 'gfname'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/s1e8.rpy", line 2754, in script
summ "No worries. I take it [mc_relationships[gfname]] left?"
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\ast.py", line 921, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\exports.py", line 1373, in say
who(what, *args, **kwargs)
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\character.py", line 1253, in __call__
what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\character.py", line 1172, in prefix_suffix
return (sub(prefix) + sub(body) + sub(suffix))
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\character.py", line 1152, in sub
return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "C:\Users\Owner\Games\1A1\AlternateExistence-1.9.0-pc\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 278, in get_field
KeyError: 'gfname'
Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22090809
ALTERNATE EXISTENCE 1.9.0_ip
Sun Aug 20 21:05:07 2023
```