Vadru93 / LevelMod

THPS3 LevelMod
Other
20 stars 2 forks source link

loading level issue - controller briefly doesn't do anything #107

Closed buvk closed 3 years ago

buvk commented 3 years ago

When you load a level where all goals have been completed (see below image), pressing ollie doesn't do anything for a few seconds.

Issue was introduced in https://github.com/Vadru93/LevelMod/commit/1da31b48adc08197d8d47bcb193eba4fe91a9abf

image

DCxDemo commented 3 years ago

i don't think it's how we're supposed to fix it. it usually waits for X unheld, then starts the wait press loop. now as you reset the key state, if you hold ollie (X), it will insta skip all dialogs on end run.

Vadru93 commented 3 years ago

I didn’t reset the whole keystate, only the timer part. But maybe instead of setting it to zero I should set it to time now since it seems if it’s zero game will handle it as unpressed.