 	Time.deltaText end
 
 	
+
+placedBeacons= false
+
 setupContent = ->
 	if Plugin.userIsAdmin() or Plugin.ownerId() is Plugin.userId() or 'true' # TODO remove (debugging purposes)
 		currentPage = Db.local.get('currentSetupPage')

			# Info bar
			Dom.div !->
				Dom.cls 'infobar'
				Dom.text "Place beacons on the map with rightclick or tap-and-hold, the circle around the beacon indicates the area from which you can capture it."
	else
		Dom.text tr("Admin/plugin owner is setting up the game")
		# Show map and current settings

					Dom.onTap !->
						Db.local.set('currentSetupPage', 'setup2')
			renderMap()
			if !placedBeacons
				location = window.beaconCurrentLocation.getLatLng()
				one = L.latLng(location.lat+0.01,location.lng-0.02)
				two = L.latLng(location.lat-0.01,location.lng+0.02)
				Server.send 'setBounds', one, two
			renderBeacons()
			Obs.observe ->
				if mapReady()
					# Setup map corners
					# Corner 1
					loc1 = L.latLng(Db.shared.get('game', 'bounds', 'one', 'lat'), Db.shared.get('game', 'bounds', 'one', 'lng'))
					window.locationOne = L.marker(loc1, {draggable: true})
