 	log 'Adding marker: lat=', location.lat, ', lng=', location.lng
 	Db.shared.set 'game', 'beacons', location.lat.toString()+'_'+location.lng.toString(), {location: location}
 	Db.shared.set 'game', 'beacons', location.lat.toString()+'_'+location.lng.toString(), 'owner', -1 
+	Db.shared.set 'game', 'beacons', location.lat.toString()+'_'+location.lng.toString(), 'nextOwner', -1
 	Db.shared.set 'game', 'beacons', location.lat.toString()+'_'+location.lng.toString(), 'captureValue', 10
+
 
 # Set the round time unit and number
 exports.client_setRoundTime = (roundTimeNumber, roundTimeUnit) ->

						team = getTeamOfUser(player.n)
						teamMembers[team] = teamMembers[team]+1
					# TODO: remove
					teamMembers = [0, 2, 1, 0, 3, 3]

					log 'teamMembers count: ', teamMembers	


					# Check if there should be progress
					if competing.length == 1
						# Team will capture the flag
						activeTeam = competing[0]
						beacon.set 'nextOwner', activeTeam
						if owner == -1
							# Capturing
							log 'Team ', activeTeam, ' is capturing beacon ', beacon.n


						else
							# Neutralizing
							log 'Team ', activeTeam, ' is neutralizing beacon ', beacon.n

					else if competing.length > 1
						# No progess, stand-off
