minetest: Restrict max players between 1 and 100

This commit is contained in:
James Valleroy committed 2016-12-23 10:49:30 -05:00
1 parent 533118c7f5
commit 2adb14e838
1 file changed
+2
+2
View File
@@ -30,6 +30,8 @@ class MinetestForm(ServiceForm):
max_players = forms.IntegerField(
label=_('Maximum number of players'),
required=True,
min_value=1,
max_value=100,
help_text=_('You can change the maximum number of players playing \
minetest at a single instance of time'))