• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Harmony applied twice ?

Umbrella

Refugee
Hello,

I use Harmony to patch GameManager.PlayerSpawnedInWorld(). After that function call, I start a thread of mine.

It happens that the thread starts twice, because the Postfix method gets called twice. (NB: I see the patch is loaded once only)

I think I saw a recent post on a similar topic. If I remember well, DMT was causing this, and the solution was to use a buff to control the thread.

Any thoughts on this ?

Thank you

 
Back
Top