Skip to content

Commit

Permalink
Fix title music conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed May 8, 2021
1 parent da3faee commit bf84091
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion invasion-force/objects/obj_title/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ selected = 0

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

if(global.music){
if(global.music && !audio_is_playing(snd_title)){
audio_play_sound(snd_title, 1, true)
}
14 changes: 7 additions & 7 deletions invasion-force/objects/obj_title/obj_title.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf84091

Please sign in to comment.