 				Timer.cancel 'onNeutralize', {beacon: beacon.n, players: getInrangePlayers(beacon.n)}
 				if newStatus
 					owner = beacon.get 'owner'
-					log 'Adding to inRange: id=', client, ', name=', Plugin.userName(client)
+					log 'Added to inRange: id=', client, ', name=', Plugin.userName(client)
 					beacon.set 'inRange', client, 'true'
 					# Start takeover
 				else
-					log 'Removed from inRange: ', client, ', name=', Plugin.userName(client)
+					log 'Removed from inRange: id=', client, ', name=', Plugin.userName(client)
 					# clean takeover
 					beacon.remove 'inRange', client
 

				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

						if owner == -1
							# Capturing
							log 'Team ', activeTeam, ' is capturing beacon ', beacon.n
							beacon.set 'actionStarted', new Date()/1000
							beacon.set 'action', 'capture'
							# 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 'actionStarted', new Date()/1000
							beacon.set 'action', 'neutralize'

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