   colliding_car: false
   colliding_tile: false
   completed_tiles: 0
-  last_tile = 1
-  current_tile = 1
+  last_tile: 1
+  current_tile: 1
   
   constructor: (colour, name, local, element, img) ->
     @setColour(colour)

      "TY: #{@ty}<br />" + 
      "Tile Type: #{@tile}<br />" + 
      "Current: #{@current_tile}<br />" +
      "Completed: #{@completed_tiles}<br />" + 
      "Lap time: #{laptime}<br />" + 
      "Best lap: #{sr.bestlap}"
    )

    if SS.config.map.tiles[@ty]
      if SS.config.map.tiles[@ty][@tx]
        @tile = SS.config.map.tiles[@ty][@tx][0]
        newtile = SS.config.map.tiles[@ty][@tx][1]
        if newtile > @current_tile
          $('#wrongway').hide()
        else if newtile < @current_tile and newtile != 1
          $('#wrongway').show()
          
        @current_tile = newtile
      else
        @tile = null
        @current_tile = 0
