aboutsummaryrefslogtreecommitdiff
path: root/modules/ext/editor.js
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-05-30 06:00:47 +0200
committerAgando <roduccomm@gmail.com>2026-05-30 06:00:47 +0200
commite3fb2d434c4f7317944b7c77781599528d766a39 (patch)
tree8f9f9c94b19d46f42f8086adb6b68ee07dfce5c6 /modules/ext/editor.js
parentd570f86177c514ae888fb63fc0bb0da7dd4d5097 (diff)
auto: 2026-05-30_06:00 changes
Diffstat (limited to 'modules/ext/editor.js')
-rw-r--r--modules/ext/editor.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/ext/editor.js b/modules/ext/editor.js
index c597dd5..8c3ac0f 100644
--- a/modules/ext/editor.js
+++ b/modules/ext/editor.js
@@ -44,6 +44,10 @@ class EditorModule {
const ok = this.terminal.fs.writeFile(this._vfsPath, code);
if (ok) {
this.terminal.print('✅ Saved to ' + this._vfsPath, 'success');
+ // Notify tutorial module for quest 4 (edit + save)
+ if (this.terminal.tutorialModule) {
+ this.terminal.tutorialModule.onFileSaved(this._vfsPath);
+ }
} else {
this.terminal.print('❌ Failed to save ' + this._vfsPath, 'error');
}