diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-13 15:21:02 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-13 15:21:02 +0800 |
| commit | 31ef4b1143e0199a84014f21a291ea878a56e6f0 (patch) | |
| tree | dfe805055cc01e8f75ab033bf7f257d89dcd9e54 /objects | |
| parent | 3d4e605d9bc93fc2388325d680d6b8c86ab1e005 (diff) | |
feat: always play music in fighting room
Diffstat (limited to 'objects')
| -rw-r--r-- | objects/room.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/objects/room.lua b/objects/room.lua index 5a10c85..911cc5d 100644 --- a/objects/room.lua +++ b/objects/room.lua @@ -243,8 +243,10 @@ function Room:init() -- play music if self.music then audio.music(self.music) - else + elseif self.music == "no" then audio.stopMusic() + else + audio.music(config.defaultMusic) end end |
