소스 검색

fixed bug where loading a thread would set changesmade to true

Jonathan Higgins 5 달 전
부모
커밋
79fd4a05ec
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      scenes/main/scripts/save_load.gd

+ 2 - 2
scenes/main/scripts/save_load.gd

@@ -106,8 +106,6 @@ func save_graph_edit(path: String):
 	control_script.changesmade = false
 	get_window().title = "SoundThread - " + path.get_file().trim_suffix(".thd")
 	
-	print("thread saved, changes made =")
-	print(control_script.changesmade)
 
 func load_graph_edit(path: String):
 	var file = FileAccess.open(path, FileAccess.READ)
@@ -212,4 +210,6 @@ func load_graph_edit(path: String):
 	print("Graph loaded.")
 	get_window().title = "SoundThread - " + path.get_file().trim_suffix(".thd")
 	
+	control_script.changesmade = false
+