Fixes idle time calculation in CharacterScreenIdleKick.
The values can be negative since m_idleTime is set after the sessionUpdateTime, because the logout packet is proccessed after the sessionUpdateTime is set.
Proof
Proof that negative values are possible:
Issues
If CharacterScreenMaxIdleTime is set, session will close upon logout and skip character screen.
How2Test
set CharacterScreenMaxIdleTime to any value
Login
Logout
Disconnected from server instead of character screen
🍰 Pullrequest
Fixes idle time calculation in CharacterScreenIdleKick.
The values can be negative since m_idleTime is set after the sessionUpdateTime, because the logout packet is proccessed after the sessionUpdateTime is set.
Proof
Proof that negative values are possible:
Issues
If
CharacterScreenMaxIdleTime
is set, session will close upon logout and skip character screen.How2Test
CharacterScreenMaxIdleTime
to any value