Skip to content

Commit 52144ea

Browse files
committed
fix: softlock caused by auto-save triggering on window
Fixes #442
1 parent 5815ef9 commit 52144ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/control_draw/control_draw.gml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function control_draw() {
8888
// Autosave
8989
if (autosave && filename_ext(filename) = ".nbs") {
9090
tonextsave -= 1 / room_speed / 60
91-
if (tonextsave <= 0 && playing == 0) save_song(filename)
91+
if (tonextsave <= 0 && playing == 0) save_song(filename, true)
9292
}
9393

9494
// Auto-recovery

0 commit comments

Comments
 (0)