Context isolation #24
Labels
🐛 Bug
Something isn't working
✨ Feature
New feature or request
📈 Improvement
Further work to make an existing feature even better
Milestone
The server and client may run on the same game instance when the server is not running as a dedicated server. This is problematic, as client events can interfere with the game state that is synced with everybody, causing all kinds of issues.
The server should:
To do so, we'll probably want to create a web worker, where we load the game and hot-patch it with the patches from https://github.com/arthuro555/cloud-gdjs as to not use any render code. Communication can be done through normal THNK serialisation over worker message APIs.
The text was updated successfully, but these errors were encountered: