spelunky-fyi / Playlunky

Extended Mod Management for Spelunky 2 via dll injection
MIT License
14 stars 11 forks source link

calling draw_text_size on script load/games start returns garbage #18

Open Mr-Auto opened 2 years ago

Mr-Auto commented 2 years ago

Essentially if you use draw_text_size outside of any callback or in ON.LOAD callback, it will return some garbage

this seams to be only PL issue as it loads the scripts as soon as the game starts (i think?) could be also OL thing if you use the on start script loading, but i dint test it