i completely forgot i added this thing that would pitch up all music in ANN, i left it in cause turns out you cant pitch up AudioStreamInteractives, so i just kinda forgot about it. whoops

This commit is contained in:
JHDev2006
2025-09-23 19:43:49 +01:00
parent 632d765222
commit 9f6fb57b6c
2 changed files with 3 additions and 3 deletions

View File

@@ -137,3 +137,5 @@ char id=195 x=48 y=128 width=16 height=16 xoffset=0 yoffset=0
char id=213 x=64 y=128 width=16 height=16 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=0 char id=213 x=64 y=128 width=16 height=16 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=0
char id=1059 x=80 y=128 width=16 height=16 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=0 char id=1059 x=80 y=128 width=16 height=16 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=0
char id=8203 x=0 y=0 width=1 height=1 xoffset=0 yoffset=0 xadvance=0 page=0 chnl=0

View File

@@ -224,8 +224,6 @@ func handle_music() -> void:
music_player.get_stream_playback().switch_to_clip(1) music_player.get_stream_playback().switch_to_clip(1)
elif music_player.get_stream_playback().get_current_clip_index() != 0: elif music_player.get_stream_playback().get_current_clip_index() != 0:
music_player.get_stream_playback().switch_to_clip(0) music_player.get_stream_playback().switch_to_clip(0)
if DiscoLevel.in_disco_level:
music_player.pitch_scale = 2
func handle_music_override() -> void: func handle_music_override() -> void:
if music_override_player.stream is AudioStreamInteractive and music_override_player.is_playing(): if music_override_player.stream is AudioStreamInteractive and music_override_player.is_playing():