DynamicAmbientSound.soundPlaying without effect?

Discussions about Coding and Scripting
User avatar
Posts: 2536
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

DynamicAmbientSound.soundPlaying without effect?

Post by Barbie »

For another reason I had a look at the code for DynamicAmbientSound - the variable soundPlaying is only defined there but not used anywhere in the code and by this without effect?
(see code)
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Posts: 6134
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: DynamicAmbientSound.soundPlaying without effect?

Post by sektor2111 »

Usually if something like that is disturbing my state, I'm writing another actor - for fixing a map or for patching original one. If it's something common like "Counter" definitely a common mutator/actor might solve problem...