Skip to content

Commit 6bcc631

Browse files
authored
Merge pull request #30 from nikolaj95o/play-options-error
choose_play_options error after selection
2 parents 193c7bc + bebf859 commit 6bcc631

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dayz-ctl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,10 @@ while read -r option; do
16641664
runDayZ "${exec_args[@]}";;
16651665
*) fail "Unknown option $1";;
16661666
esac
1667-
done < <(printf '%s\n' "${choose_play_options[@]}" | gum choose --no-limit)
1667+
done < <(
1668+
printf '%s\n' "${choose_play_options[@]}" | \
1669+
gum choose --height="$(menuHeight ${#choose_play_options[@]})"
1670+
)
16681671

16691672
exit 0
16701673

0 commit comments

Comments
 (0)