keilladraconis / Fallout-Vore

8 stars 5 forks source link

Replaced most PlayAndWait calls. #2

Closed Gaz-tec closed 2 years ago

Gaz-tec commented 2 years ago

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.

Gaz-tec commented 2 years ago

New commit added with Morph fixes. I have not optimized Thicc Vore yet, only fixed this bug. Optimization plan pending conversation.