fixed a bug where reopening the custom level menu after playing a custom level from the lss browser would cause a crash

This commit is contained in:
JHDev2006
2025-09-27 11:40:42 +01:00
parent e4334dbb7a
commit 7728ccea7b

View File

@@ -46,6 +46,7 @@ func _ready() -> void:
%LevelList.close()
func clear_saved_stuff() -> void:
last_played_container = null
%LSSLevelInfo.saved_stuff.clear()
saved_search_values = [-1, -1, -1]
%LSSBrowser.number_of_pages = -1