Skip to content

Commit

Permalink
Fix #6 🔔 🔕
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemfp committed Aug 8, 2016
1 parent af712bb commit 6f5fa84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ def initialize
GarageState
]
@state = 0
@current_state = @states[@state].new(main:self)
@last_state = @state
@data = JSON.parse(File.read('src/data/data.json'))
@is_sound_enable = @data['config']['sound']

@current_state = @states[@state].new(main:self)
end

def update
Expand Down

0 comments on commit 6f5fa84

Please sign in to comment.