Limit-Theory-Redux / ltheory

Limit Theory Redux is a fork of the discontinued open-world space simulation game Limit Theory. We have made it our mission to continue the development of the ambitious Limit Theory project as an open source initiative.
Apache License 2.0
62 stars 8 forks source link

Add EventTest #307

Closed dgavedissian closed 4 months ago

dgavedissian commented 4 months ago

This demonstrates a bug where an event is not delivered in some cases. Looks like preRender is not called in the first iteration:

 WARN Context is already current
DEBUG [lua] onPreSim
DEBUG [lua] onPreSim2
DEBUG [lua] onSim
DEBUG [lua] onSim2
DEBUG [lua] onPostSim
DEBUG [lua] onPostSim2
DEBUG [lua] Got my event
DEBUG [lua] onRender
DEBUG [lua] onRender2
DEBUG [lua] onPostRender
DEBUG [lua] onPostRender2
DEBUG [lua] onPreInput
DEBUG [lua] onPreInput2
DEBUG [lua] onInput
DEBUG [lua] onInput2
DEBUG [lua] onPostInput
DEBUG [lua] onPostInput2