summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Script.c
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-02-10 22:22:31 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-02-10 22:57:30 +0100
commitd18ead9151af1e5bcd7813544f531b2cb1e21a00 (patch)
treec1ebf3d18950a7294c82f3e733be3178d840b22e /TemplePushing.c4s/Script.c
parent2def67d7f5a70473141977e5be755424eb320298 (diff)
downloadtempelschubsen-d18ead9151af1e5bcd7813544f531b2cb1e21a00.tar.gz
tempelschubsen-d18ead9151af1e5bcd7813544f531b2cb1e21a00.zip
Add deathmatch win-score upper and lower limits with 10 and 30 respectively
Diffstat (limited to 'TemplePushing.c4s/Script.c')
-rw-r--r--TemplePushing.c4s/Script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index 93a2d46..7ef5474 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -171,7 +171,7 @@ func SetupDone(object menu, string message)
ambienceEnabled = menu->LocalN("ambienceEnabled");
numRelaunches = BoundBy(menu->LocalN("numRelaunches"), 3, 10);
deathmatchEnabled = menu->LocalN("deathmatchEnabled");
- deathmatchWinScore = menu->LocalN("deathmatchWinScore");
+ deathmatchWinScore = BoundBy(menu->LocalN("deathmatchWinScore"), 10, 30);
menu->RemoveObject();
gameStartMessage = message;