mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 05:49:55 +00:00
badend music fix
This commit is contained in:
parent
9f418eda9b
commit
d7f119d797
2 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ module Audio
|
|||
end
|
||||
|
||||
def bgm_volume
|
||||
self.get_group_volume(@music_group * 100.0)
|
||||
self.get_group_volume(@music_group) * 100.0
|
||||
end
|
||||
def bgm_volume=(val)
|
||||
self.set_group_volume(@music_group, val / 100.0)
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ class Scene_Title
|
|||
if File.exist?("badend.lock")
|
||||
@sprite.visible = false
|
||||
@badend_sprite.visible = true
|
||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead.ogg", Audio.bgm_volume, 100)
|
||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead")
|
||||
else
|
||||
case Settings[:mainmenu_background]
|
||||
when 0
|
||||
|
|
@ -226,7 +226,7 @@ class Scene_Title
|
|||
when 1
|
||||
@sprite.visible = false
|
||||
@badend_sprite.visible = true
|
||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead.ogg", Audio.bgm_volume, 100)
|
||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead")
|
||||
when 2
|
||||
@sprite.visible = false
|
||||
@badend_sprite.visible = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue