Probably adding a networked boolean to enable the music (similar to the Dragonfly) would be a better solution, but the stuff below could be a quick fix.
local function PushMusic(inst) if ThePlayer == nil or (inst.sg and inst.sg:HasStateTag("inert")) then inst._playingmusic = false
local function PushMusic(inst) if ThePlayer == nil or inst:HasTag("noattack") then inst._playingmusic = false
Steps to Reproduce
- Create a world with caves
- Go near the inert Crab King
- 2
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now