From 819fd70c1285bf5670b68842adad8c77c36d1076 Mon Sep 17 00:00:00 2001
From: nfoy <nfoy@purdue.edu>
Date: Mon, 28 Apr 2014 21:32:04 -0400
Subject: All the changes.  Luke should know what's up.

---
 app/controllers/matches_controller.rb | 1 +
 1 file changed, 1 insertion(+)

(limited to 'app/controllers')

diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb
index 81ffcd8..d2dc918 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -31,6 +31,7 @@ class MatchesController < ApplicationController
 			# Scheduled, waiting to start
 			if (@tournament.hosts.include? current_user) and (params[:update_action] == "start")
 				@match.status = 2
+				@match.start_sampling
 				respond_to do |format|
 						if @match.save
 							format.html { redirect_to tournament_match_path(@tournament, @match), notice: 'Match has started.' }
-- 
cgit v1.2.3-2-g168b