mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
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:
@@ -46,6 +46,7 @@ func _ready() -> void:
|
|||||||
%LevelList.close()
|
%LevelList.close()
|
||||||
|
|
||||||
func clear_saved_stuff() -> void:
|
func clear_saved_stuff() -> void:
|
||||||
|
last_played_container = null
|
||||||
%LSSLevelInfo.saved_stuff.clear()
|
%LSSLevelInfo.saved_stuff.clear()
|
||||||
saved_search_values = [-1, -1, -1]
|
saved_search_values = [-1, -1, -1]
|
||||||
%LSSBrowser.number_of_pages = -1
|
%LSSBrowser.number_of_pages = -1
|
||||||
|
Reference in New Issue
Block a user