risk-of-thunder / R2API

A modding API for Risk of Rain 2
https://thunderstore.io/package/tristanmcpherson/R2API/
MIT License
136 stars 55 forks source link

NetworkCompatibility doesn't work as expected since the module split happened #480

Closed xiaoxiao921 closed 1 year ago

xiaoxiao921 commented 1 year ago

https://github.com/risk-of-thunder/R2API/blob/master/R2API.Core/Utils/NetworkCompatibility.cs#LL96C48-L96C48

If we want to restore the behavior as it was before, the if statement should check for any r2api submodule

xiaoxiao921 commented 1 year ago

just realized all modules StartsWith the r2api pluginguid, so I could be wrong