Current Behavior:
If I don't want to run the tests I can deactivate them by setting "gmtl_run_at_start" to false. If I do that no tests are done (thats fine) but any event which would be simulated in the tests like keyboard or mouse press events don't work anymore.
Expected Behavior:
Events which would be simulated in the tests like keyboard or mouse press events should work.
Steps to Reproduce:
- change "gmtl_run_at_start" to false in
- either Libraries/GMTL/Setup/GMTL_definitions
- or in your own macro definitions, e. g.
#macro Development:gmtl_run_at_start false
- run your project
- if everything is loaded press any keyboard key or click any mouse button -> nothing happens
Environment:
GMTL: v.1.1.1b
Game Maker: 2024.13.1.193
Anything else:
I think I know the problem:
- you skip the tests in function __gmtl_init() in Libraries/GMTL/Setup/GMTL_init
- before skipping you set
gmtl_internal.initializing = false;
- now "gmtl_internal.initializing" and "gmtl_internal.finished" are both false which lead to the problem that in every simulation function the simulated value is returned instead of the original one
- I could solve the problem by setting
gmtl_internal.finished= true; before the return statement