1
Fork 0
mirror of https://github.com/Cookie-CHR/OfficeMadness-LD51.git synced 2024-11-21 22:34:19 +00:00
office-madness/Music/Muter.gd
2022-10-03 00:44:58 +02:00

17 lines
196 B
GDScript

extends Node
var mute = false
func _ready():
pass;
func get_mute():
return mute
func mute_unmute():
if (mute):
mute = false
MusicPlayer.play()
else:
mute = true
MusicPlayer.stop()