   ->
     # @todo flight ordering on landing
     plane.location = plane.location.split('->')[1]
-    plane.flights_flown++
-    plane.owner.money += 100
+    MessageBus.publish 'landed', plane
     MessageBus.publish 'dataChange'
     console.log "landed in #{plane.location}!"
 

blue = '#9fc5e8'
grey = '#eeeeee'

player1 =
  name: 'Blue'
  color: blue
  money: 0

player2 =
  name: 'Pink'
  color: pink
  money: 0

nobody =
  name: 'Nobody'
  color: grey

airports[0].owner = player2
airports[1].owner = nobody
airports[2].owner = player1

planes = [
  {name: 'Plane1', flights_flown: 0, location: 'DUB', owner: player1},

    newPlanes = _.difference planes_at(@props.name), @planes
    if !_.isEmpty(newPlanes)
      for plane in newPlanes
        setTimeout landPlane(plane), 1000 # @todo set according to distance between airports

      @planes = planes_at(@props.name)

