mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed error in previous commit
This commit is contained in:
@@ -58,8 +58,10 @@ class Scene_Map
|
||||
playingBGS = $game_system.playing_bgs
|
||||
return if !playingBGM && !playingBGS
|
||||
map = load_data(sprintf("Data/Map%03d.rxdata", mapid))
|
||||
if playingBGM && map.autoplay_bgm && playingBGM.name != map.bgm_name
|
||||
pbBGMFade(0.8)
|
||||
if playingBGM && map.autoplay_bgm
|
||||
test_filename = map.bgm.name
|
||||
test_filename += "_n" if PBDayNight.isNight? && FileTest.audio_exist?("Audio/BGM/" + test_filename + "_n")
|
||||
pbBGMFade(0.8) if playingBGM.name != test_filename
|
||||
end
|
||||
if playingBGS && map.autoplay_bgs && playingBGS.name != map.bgs.name
|
||||
pbBGMFade(0.8)
|
||||
|
||||
Reference in New Issue
Block a user