From 3494724daa2353c92dd28cb28297bd6b35e40f61 Mon Sep 17 00:00:00 2001 From: NyakoFox Date: Thu, 3 Oct 2024 22:39:18 -0300 Subject: [PATCH] Clear redo buffer on level load --- desktop_version/src/Editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Editor.cpp b/desktop_version/src/Editor.cpp index c9fc494f..2dbf51c1 100644 --- a/desktop_version/src/Editor.cpp +++ b/desktop_version/src/Editor.cpp @@ -414,6 +414,7 @@ void editorclass::reset(void) substate = EditorSubState_MAIN; undo_buffer.clear(); + redo_buffer.clear(); } void editorclass::show_note(const char* text)