flashflashrevolution / rCubed

Official Flash Flash Revolution game engine.
https://www.flashflashrevolution.com
GNU Affero General Public License v3.0
31 stars 17 forks source link

Fix for direct WebSocket connections. #215

Closed Psycast closed 4 years ago

Psycast commented 4 years ago

Accessing localhost:<port_number> would crash the game as it only expects websocket connections and didn't check before attempting to write a response.

Add a fields check that checks for websocket fields and bails if none found.

Also adds a instructions button under the overlay toggle to explain the feature.