Fixed bug in fomod support

This commit is contained in:
Marc
2023-01-13 20:04:32 +01:00
parent 327486d897
commit 0c2b3afa9b
+2 -2
View File
@@ -262,13 +262,13 @@ error_t fomod_installFOMod(const char * modFolder, const char * destination) {
case ANY:
printf("Select any (space separated) (leave empty for nothing) :\n");
min = 0;
max = (u_int8_t)group.pluginCount - 1;
max = (u_int8_t)group.pluginCount;
break;
case AT_LEAST_ONE:
printf("Select at least one (space separated) (leave empty for nothing) :\n");
min = 1;
max = (u_int8_t)group.pluginCount - 1;
max = (u_int8_t)group.pluginCount;
break;
case AT_MOST_ONE: