mirror of
				https://git.kittycat.homes/zoe/pegchamp.git
				synced 2024-08-15 03:15:39 +00:00 
			
		
		
		
	some fixes
This commit is contained in:
		
							parent
							
								
									ffcccb8c2e
								
							
						
					
					
						commit
						6539056cfb
					
				
					 8 changed files with 135 additions and 98 deletions
				
			
		|  | @ -7,3 +7,6 @@ func _ready(): | |||
| 
 | ||||
| func _on_MusicVolumeSlider_value_changed(value): | ||||
| 	AudioServer.set_bus_volume_db(AudioServer.get_bus_index(bus_channel),  linear2db(value)) | ||||
| 
 | ||||
| func save_volume(): | ||||
| 	Saves.save_game() | ||||
|  |  | |||
|  | @ -16,4 +16,6 @@ __meta__ = { | |||
| "_edit_use_anchors_": false | ||||
| } | ||||
| 
 | ||||
| [connection signal="focus_exited" from="." to="." method="save_volume"] | ||||
| [connection signal="mouse_exited" from="." to="." method="save_volume"] | ||||
| [connection signal="value_changed" from="." to="." method="_on_MusicVolumeSlider_value_changed"] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue