summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
-rw-r--r--TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
index 6082ca5..6bd8790 100644
--- a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
@@ -155,11 +155,11 @@ private func SelectSetting(int selectedSetting)
}
else if (selectedSetting == SETTING_DeathmatchScoreInc)
{
- ++deathmatchWinScore;
+ deathmatchWinScore = Min(deathmatchWinScore + 1, 30);
}
else if (selectedSetting == SETTING_DeathmatchScoreDec)
{
- deathmatchWinScore = Max(deathmatchWinScore - 1, 1);
+ deathmatchWinScore = Max(deathmatchWinScore - 1, 10);
}
ShowMessage();