]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix extendmatchtime/reducematchtime commands
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 6 Jun 2011 04:45:24 +0000 (06:45 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 6 Jun 2011 04:45:24 +0000 (06:45 +0200)
qcsrc/server/gamecommand.qc

index daec8754e2c02e9534a1316cfd4733b924e3da8f..136df7ae2a9eb48839fb50e9849346739dc3ab4d 100644 (file)
@@ -665,7 +665,7 @@ void changematchtime(float delta, float mi, float ma)
                        return;
        }
 
-       cvar_set("timelimit", ftos(new));
+       cvar_set("timelimit", ftos(lim / 60));
 }
 
 void GameCommand(string command)