diff options
| author | Amir Rajan <[email protected]> | 2019-09-16 00:53:02 +0200 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2019-09-16 00:53:14 +0200 |
| commit | a6726a1523a1a7f56b8271fb4c064e0ba4e4720f (patch) | |
| tree | 08d037879125eb13a40599699b9bcd5386dbd3e7 | |
| parent | 6ac512ba37f8ceedf79b92587d963a316bea579e (diff) | |
| download | dragonruby-game-toolkit-contrib-a6726a1523a1a7f56b8271fb4c064e0ba4e4720f.tar.gz dragonruby-game-toolkit-contrib-a6726a1523a1a7f56b8271fb4c064e0ba4e4720f.zip | |
synced.
| -rw-r--r-- | dragon/console.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dragon/console.rb b/dragon/console.rb index 3bd3e0b..a232fb9 100644 --- a/dragon/console.rb +++ b/dragon/console.rb @@ -268,7 +268,7 @@ I've written the current command at the top of a file called ./repl.rb (right ne S if @last_command_written_to_repl_rb != @current_input_str @last_command_written_to_repl_rb = @current_input_str - contents = $gtk.read_file 'repl.rb' + contents = $gtk.read_file 'app/repl.rb' contents ||= '' contents = <<-S + contents @@ -279,8 +279,8 @@ end S $gtk.suppress_hotload = true - $gtk.write_file 'repl.rb', contents - $gtk.reload_if_needed 'repl.rb', true + $gtk.write_file 'app/repl.rb', contents + $gtk.reload_if_needed 'app/repl.rb', true $gtk.suppress_hotload = false end |
