Skip to content

Commit

Permalink
correct an invalid return
Browse files Browse the repository at this point in the history
closes #3
  • Loading branch information
bmichotte committed Mar 14, 2015
1 parent a50c100 commit e46f933
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/app_delegate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ def applicationDidFinishLaunching(notification)
@opponent.showWindow(self)
@opponent.window.orderFrontRegardless

# test if locale is set
if Configuration.locale.nil?
openPreferences(nil)
return
next
end

Hearthstone.instance.listen(@player, :player)
Expand Down

0 comments on commit e46f933

Please sign in to comment.