SimpleTweaksPlugin icon indicating copy to clipboard operation
SimpleTweaksPlugin copied to clipboard

[Disable Title Screen Movie] Overwrite conditional jump instead of resetting idle time

Open carvelli opened this issue 1 year ago • 1 comments

The idle time is currently only reset in FrameworkUpdate which is running after the actual check for how long you've been idle. If you somehow manage to hang the FFXIV process for >1 minute, that means the title screen movie will play regardless of whether the tweak is currently enabled.

The code changes the conditional jump for idleTime <= 60000 to an unconditional jump, so movies never play automatically.

This is the current IdleTime while making this PR (playing a movie would reset it to 0): image

carvelli avatar Mar 21 '24 18:03 carvelli

idk... this is how I used to do it and changed because it was prone to breaking

Caraxi avatar Mar 31 '24 20:03 Caraxi