Skip to content

Commit bf84091

Browse files
committed
Fix title music conflict
1 parent da3faee commit bf84091

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

invasion-force/objects/obj_title/Create_0.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ selected = 0
1313

1414
cursor = instance_create_layer(room_width / 2 - 20,y,"Instances", obj_cursor)
1515

16-
if(global.music){
16+
if(global.music && !audio_is_playing(snd_title)){
1717
audio_play_sound(snd_title, 1, true)
1818
}

invasion-force/objects/obj_title/obj_title.yy

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)