Skip to content

Commit 10c123c

Browse files
author
CuzImBisonratte
committed
fixed -1 thinking error
1 parent 38aac4c commit 10c123c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function generate(minify) {
9898
theme_js_file += " // Add 1 to the current theme\n";
9999
theme_js_file += " current_theme++;\n";
100100
theme_js_file += " // If the current theme is greater than the number of themes, set it to 0\n";
101-
theme_js_file += " if (current_theme > number_of_themes - 1) {\n";
101+
theme_js_file += " if (current_theme > number_of_themes) {\n";
102102
theme_js_file += " current_theme = 0;\n";
103103
theme_js_file += " }\n";
104104
theme_js_file += " // Change the theme\n";

0 commit comments

Comments
 (0)