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)
|
def read(file)
|
||||||
puts 'Welcome to Sapling, a Dialogue Tree Utility.'
|
puts 'Welcome to Sapling, a Dialogue Tree Utility.'
|
||||||
exit unless verify_tree(file)
|
exit unless verify_tree(file)
|
||||||
tree = Gardner::Plot.new(YAML.load_file(file), false)
|
tree = Gardner::Plot.new(YAML.load_file(file))
|
||||||
speaker = Dialogue::Speaker.new(tree)
|
speaker = Dialogue::Speaker.new(tree, false)
|
||||||
speaker.conversation
|
speaker.conversation
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue