Skip to content
Snippets Groups Projects

Fix lastinputtime not incrementing if idletime is 0

Merged Hanicef requested to merge Hanicef/SRB2Classic:fix-lastinputtime-not-incrementing into next

Due to some misplaced conditions, lastinputtime on player_t was not incrementing if idletime was set to 0. The issue was that the increment logic was guarded this check, preventing it from running if idletime was 0 and thus rendered the field useless in Lua. These checks have now been moved to still allow lastinputtime to increment even if idletime is 0.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading