Can anyone help about the error occurred in episode 9 when Sage and MC meet and go into the haunted basement?
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/freeroam/episode9/ep9_freeroam_ph2_events.rpy", line 1256, in script
with dissolve
File "game/scripts/misc/flashlight.rpy", line 23, in render
TypeError: '<' not supported between instances of 'NoneType' and 'int'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/scripts/freeroam/episode9/ep9_freeroam_ph2_events.rpy", line 1256, in script
with dissolve
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/ast.py", line 1678, in execute
renpy.exports.with_statement(trans, paired=paired)
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/exports.py", line 1757, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/core.py", line 2975, in do_with
return self.interact(trans_pause=True,
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/core.py", line 3579, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/core.py", line 4172, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/core.py", line 2779, in draw_screen
surftree = renpy.display.render.render_screen(
File "render.pyx", line 492, in renpy.display.render.render_screen
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/layout.py", line 886, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/transition.py", line 379, in render
top = render(self.new_widget, width, height, st, at)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/layout.py", line 886, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/layout.py", line 886, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/screen.py", line 731, in render
child = renpy.display.render.render(self.child, w, h, st, at)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "/Users/James/Desktop/Nice/renpy-8.0.3-sdk/renpy/display/layout.py", line 886, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 266, in renpy.display.render.render
File "game/scripts/misc/flashlight.rpy", line 23, in render
TypeError: '<' not supported between instances of 'NoneType' and 'int'
macOS-14.0-arm64-arm-64bit arm64
Ren'Py 8.1.1.23060707
Being a DIK 0.9.1
Thu Aug 17 01:25:26 2023
```