i'm getting this error whenever i wander around downtown and random character is trying to generate
While running game code:
File "game/general_actions/location_actions/downtown_events.rpy", line 161, in <module>
AttributeError: 'NoneType' object has no attribute 'age_range'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "script.rpyc", line 461, in script call
File "script.rpyc", line 461, in script call
File "general_actions/location_actions/downtown_events.rpyc", line 44, in script call
File "general_actions/location_actions/downtown_events.rpyc", line 161, in script
File "C:\Users\\OneDrive\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\\OneDrive\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/general_actions/location_actions/downtown_events.rpy", line 161, in <module>
File "game/helper_functions/random_generation_functions_ren.py", line 46, in make_person
File "game/helper_functions/random_generation_functions_ren.py", line 115, in create_random_person
AttributeError: 'NoneType' object has no attribute 'age_range'