Update script file path to include 'scripts' subdirectory

Adjusted the file path resolution to include the 'scripts' folder for better organization and alignment with directory structure. Fallback to the default template remains unchanged.
This commit is contained in:
Nick Guy 2025-06-02 22:17:15 +01:00
parent 895f6c94b5
commit eefb13c59b

View file

@ -12,7 +12,7 @@ else
fi fi
if [[ "${script_name}x" != "x" ]]; then if [[ "${script_name}x" != "x" ]]; then
script_file="${root_dir}/${script_name}.png" script_file="${root_dir}/scripts/${script_name}.png"
else else
script_file="${DIR}/templates/map_background.png" script_file="${DIR}/templates/map_background.png"
fi fi