From a0a845f0e79d9632b065599dcbfc607ab6cb276b Mon Sep 17 00:00:00 2001 From: "Paul S. Ferrell" Date: Tue, 13 Oct 2009 16:10:59 -0600 Subject: [PATCH] Added lines to clear tanks state to new-contest. --- new-contest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/new-contest b/new-contest index 55e8afc..254c6e7 100755 --- a/new-contest +++ b/new-contest @@ -15,6 +15,11 @@ rm -f /var/lib/ctf/flags/* || true sv restart /var/service/ctf +echo "Removing tanks history" +rm -f /var/lib/tanks/ai/players/* +rm -rf /var/lib/tanks/results/* +rm -f /var/lib/tanks/winner + echo "Things you may want to tweak:" find /var/lib/ctf/disabled find /var/lib/kevin/tokens