 	# TODO: Personalize for team members or dubed players
 	Event.create
 		unit: 'capture'
-		text: "Team " + Db.shared.get('colors', nextOwner , 'name') + " captured a beacon"
+		text: "Team " + Db.shared.peek('colors', nextOwner , 'name') + " captured a beacon"
 
 	# Handle points and statistics
 	client = args.players.split(', ')[0]

						if owner == -1
							# Capturing
							log 'Team ', activeTeam, ' is capturing beacon ', beacon.n
							beacon.set 'action', 'capture'
							beacon.set 'actionStarted', new Date()/1000
							# Set timer for capturing
							playersStr = getInrangePlayers(beacon.n)
							Timer.set (100-percentage)*10*30, 'onCapture', {beacon: beacon.n, players: playersStr}
						else
							# Neutralizing
							log 'Team ', activeTeam, ' is neutralizing beacon ', beacon.n
							beacon.set 'action', 'neutralize'
							beacon.set 'actionStarted', new Date()/1000

							playersStr = getInrangePlayers(beacon.n)
							Timer.set percentage*10*30, 'onNeutralize', {beacon: beacon.n, players: playersStr}

				Db.shared.iterate 'game', 'beacons', beacon.n, 'inRange', (player) !->
					team = getTeamOfUser(player.n)
					teamMembers[team] = teamMembers[team]+1
				#log 'teamMembers count: ', teamMembers	

				# Determine who is competing
				max = 0
