Move bell sound to themes directory

This commit is contained in:
Leroy Hopson 2021-07-12 22:55:00 +07:00
parent e13bc7e082
commit 04e077694f
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
4 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -1,21 +0,0 @@
[remap]
importer="wav"
type="AudioStreamSample"
path="res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample"
[deps]
source_file="res://examples/bell.wav"
dest_files=[ "res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample" ]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop=false
compress/mode=0

View file

@ -17,7 +17,7 @@ func _on_Terminal_bell():
return
var player := AudioStreamPlayer.new()
player.stream = preload("../bell.wav")
player.stream = preload("res://addons/godot_xterm/themes/audio/bell.wav")
player.autoplay = true
player.connect("finished", self, "_on_player_finished", [player])
add_child(player)