Jump to content

Crab King Music Is Playing in The Inert State


lakhnish
  • Pending

Old-but-gold bug from long ago

Crab King's boss music plays at all times for clients, this is because the check necessary for making the music not play depends on the stategraph, which is only initalized on the server side.

local function PushMusic(inst)
    if ThePlayer == nil or (inst.sg and inst.sg:HasStateTag("inert")) then
        inst._playingmusic = false

Instead of checking for a state tag, the check should just use a basic "inst:HasTag" call.


Steps to Reproduce

Be next to an inert crab king.

The theme music is playing, even though it shouldn't be.

  • Like 1



User Feedback


There are no comments to display.



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...