mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29: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
|
end
|
||||||
|
|
||||||
def bgm_volume
|
def bgm_volume
|
||||||
self.get_group_volume(@music_group * 100.0)
|
self.get_group_volume(@music_group) * 100.0
|
||||||
end
|
end
|
||||||
def bgm_volume=(val)
|
def bgm_volume=(val)
|
||||||
self.set_group_volume(@music_group, val / 100.0)
|
self.set_group_volume(@music_group, val / 100.0)
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ class Scene_Title
|
||||||
if File.exist?("badend.lock")
|
if File.exist?("badend.lock")
|
||||||
@sprite.visible = false
|
@sprite.visible = false
|
||||||
@badend_sprite.visible = true
|
@badend_sprite.visible = true
|
||||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead.ogg", Audio.bgm_volume, 100)
|
Audio.bgm_play("Audio/BGM/MyBurdenIsDead")
|
||||||
else
|
else
|
||||||
case Settings[:mainmenu_background]
|
case Settings[:mainmenu_background]
|
||||||
when 0
|
when 0
|
||||||
|
|
@ -226,7 +226,7 @@ class Scene_Title
|
||||||
when 1
|
when 1
|
||||||
@sprite.visible = false
|
@sprite.visible = false
|
||||||
@badend_sprite.visible = true
|
@badend_sprite.visible = true
|
||||||
Audio.bgm_play("Audio/BGM/MyBurdenIsDead.ogg", Audio.bgm_volume, 100)
|
Audio.bgm_play("Audio/BGM/MyBurdenIsDead")
|
||||||
when 2
|
when 2
|
||||||
@sprite.visible = false
|
@sprite.visible = false
|
||||||
@badend_sprite.visible = false
|
@badend_sprite.visible = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue