Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
283 stars 30 forks source link

Fix segfault with protocol fallback code #41

Closed rollerozxa closed 2 years ago

rollerozxa commented 2 years ago

For whatever reason, copying the regular community host to _community_host causes the game to segfault trying to play levels from principia-web which currently makes use of the fallback code. This fixes it by instead emptying the variable which ends up doing the same thing without a segfault.