Closed Capricus02 closed 1 year ago
This should be fixed in the latest release (V1.2.7). Please download this update, try it again, and let me know if this error persists.
Oh that's odd. I could've sworn I had already updated it but apparently not. My apologies. I believe that worked!
No no, you were in the right, I updated the submod with a fix for the issue.
Oh nice. Thanks again!
Describe the bug As soon as I started the sexting conversation with Monika, an error was thrown in the game. Traceback details are below but suffice it to say I believe it's because the last_sexted variable hasn't been defined yet. Might just need to add a default value but I'm not 100% sure without looking deeper into the code.
To Reproduce Steps to reproduce the behavior:
Full traceback: File "game/script-ch30.rpy", line 2121, in script call File "game/event-handler.rpy", line 3119, in script call File "game/Submods/NSFW Submod/nsfw_moods.rpy", line 38, in script call call nsfw_sexting_init File "game/Submods/NSFW Submod/nsfw_sexting.rpy", line 379, in script call call nsfw_sexting_main File "game/Submods/NSFW Submod/nsfw_sexting.rpy", line 87, in script if last_sexted < datetime.timedelta(hours=1): File "D:\Steam\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 1656, in execute if renpy.python.py_eval(condition): File "D:\Steam\steamapps\common\Doki Doki Literature Club\renpy\python.py", line 1749, in py_eval return py_eval_bytecode(code, globals, locals) File "D:\Steam\steamapps\common\Doki Doki Literature Club\renpy\python.py", line 1743, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/Submods/NSFW Submod/nsfw_sexting.rpy", line 87, in
if last_sexted < datetime.timedelta(hours=1):
NameError: name 'last_sexted' is not defined