Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
736 stars 74 forks source link

Separate Lua states #109

Open andrewmcwatters opened 3 years ago

andrewmcwatters commented 3 years ago

Is your feature request related to a problem? Please describe. When I restart a server, the engine retains the same Lua state.

Describe the solution you'd like I want new Lua states each time the server restarts.

Describe alternatives you've considered Grid Engine 9 and earlier manually clean up module state. This is difficult and a security issue.

Additional context Consider using love.thread or Lua Lanes.