PlayAndWait waits for a return at the end of playing a soundfile, this will force a given script thread to hang until the sound finishes playback. In the case of the Registry, this inflicts extreme slowdowns on core mod functionality.
Using .Play() instead does not inflict this performance cost.
PlayAndWait waits for a return at the end of playing a soundfile, this will force a given script thread to hang until the sound finishes playback. In the case of the Registry, this inflicts extreme slowdowns on core mod functionality.
Using .Play() instead does not inflict this performance cost.