Bug fixes

* Fixed Snape's Office music not playing
* Added map to dev start
This commit is contained in:
LoafyLemon 2022-06-29 22:28:06 +01:00
parent 5aecfe01f5
commit 39301f51ad
2 changed files with 8 additions and 4 deletions

View File

@ -24,6 +24,7 @@ label start_dev:
game.difficulty = 2
game.cheats = True
game.gold = 100000
map_unlocked = True
snape_unlocked = True
tonks_unlocked = True
hermione_unlocked = True

View File

@ -269,10 +269,13 @@ label play_music(music="", fadein=1.0, fadeout=1.0):
# Play day/night theme
label music_block:
if game.daytime:
call play_music("day")
else:
call play_music("night")
if current_room == "main_room":
if game.daytime:
call play_music("day")
else:
call play_music("night")
elif current_room == "snape_office":
call play_music("snape_office")
return
label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"):