sapling.rb: Fix argument passing
Accidentially moved the debug argument to the Gardner invokation, instead of leaving with the Dialogue invokation.
This commit is contained in:
parent
bd45e60bb7
commit
54f23625a8
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ class Sapling < Thor
|
|||
def read(file)
|
||||
puts 'Welcome to Sapling, a Dialogue Tree Utility.'
|
||||
exit unless verify_tree(file)
|
||||
tree = Gardner::Plot.new(YAML.load_file(file), false)
|
||||
speaker = Dialogue::Speaker.new(tree)
|
||||
tree = Gardner::Plot.new(YAML.load_file(file))
|
||||
speaker = Dialogue::Speaker.new(tree, false)
|
||||
speaker.conversation
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue