diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-13 15:38:50 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-13 15:38:50 +0800 |
| commit | c2bcf9ae0ab2ca1408d0b131753b207c4a9150bd (patch) | |
| tree | 617fe228bbbb31b018f236c865d81dc6d8284edb | |
| parent | 21dd1fd53e0617d2eab531137368baf04bdc23eb (diff) | |
chore: stop music after player's been reborn
| -rw-r--r-- | config.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -43,6 +43,9 @@ function initGame() local Player = require "objects.player" local map = require "logic.map" local bodyLifeCycleManager = require "utils.bodyLifecycleManager" + local audio = require "utils.audio" + + audio.stopMusic() -- initialize game state G = { |
