You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, defineRxSystem in [recs](https://github.com/latticexyz/mud/blob/main/packages/recs/src/System.ts) does not return the rxjs Subscription object, but only registers the unsubscribe to world.registerDisposer()
This prevents the ability to granularly unsubscribe from systems, which is useful in many situations, like building a game with different game modes, for example.
Easy possible fix: Return Subscription object. Current workaround:
- hack to make systems unsubscribable: latticexyz/mud#329
- rename battle royale to BR naming for clarity
- eventually... it should be easy to add a ton of minigames
- hack to make systems unsubscribable: latticexyz/mud#329
- rename battle royale to BR naming for clarity
- eventually... it should be easy to add a ton of minigames
- hack to make systems unsubscribable: latticexyz/mud#329
- rename battle royale to BR naming for clarity
- eventually... it should be easy to add a ton of minigames
- hack to make systems unsubscribable: latticexyz/mud#329
- rename battle royale to BR naming for clarity
- eventually... it should be easy to add a ton of minigames
Currently,
defineRxSystem
in[recs](https://github.com/latticexyz/mud/blob/main/packages/recs/src/System.ts)
does not return the rxjsSubscription
object, but only registers theunsubscribe
toworld.registerDisposer()
This prevents the ability to granularly unsubscribe from systems, which is useful in many situations, like building a game with different game modes, for example.
Easy possible fix: Return
Subscription
object. Current workaround:The text was updated successfully, but these errors were encountered: