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
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