forked from SilverStudioGames/WTS
Bug fixes
* Fixed Snape's Office music not playing * Added map to dev start
This commit is contained in:
parent
5aecfe01f5
commit
39301f51ad
@ -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
|
||||
|
@ -269,10 +269,13 @@ label play_music(music="", fadein=1.0, fadeout=1.0):
|
||||
|
||||
# Play day/night theme
|
||||
label music_block:
|
||||
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"):
|
||||
|
Loading…
Reference in New Issue
Block a user