reset stains on map change
This commit is contained in:
parent
6f6c5d06e1
commit
39b28d3554
2 changed files with 7 additions and 0 deletions
|
@ -148,6 +148,7 @@ func change_map(map: PackedScene) -> void:
|
|||
Save.current_file.save_to_file()
|
||||
# clear
|
||||
clear_collectibles()
|
||||
StainLayer.reset()
|
||||
#Loop is so no more than one level is loaded at a time
|
||||
SceneManager.current_scene = map.instance()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue