mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-03-21 17:24:33 -05:00
dd better error message when failing to find background images.
This commit is contained in:
parent
6569925b18
commit
db6171582e
|
|
@ -679,7 +679,10 @@ def render_path(
|
|||
else:
|
||||
raise Exception("Invalid image specified as background!")
|
||||
|
||||
background = adjust_background_loop(background, background_loop_start, background_loop_end, background_loop_offset)
|
||||
if background:
|
||||
background = adjust_background_loop(background, background_loop_start, background_loop_end, background_loop_offset)
|
||||
else:
|
||||
raise Exception("Did not find any background images to load!")
|
||||
else:
|
||||
background = None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user