Skip to content

Fix for paycheck during death v5 - #722

Open
that-edward wants to merge 1 commit into
AsYetUntitled:v5.X.Xfrom
that-edward:paycheck-death-v5
Open

Fix for paycheck during death v5#722
that-edward wants to merge 1 commit into
AsYetUntitled:v5.X.Xfrom
that-edward:paycheck-death-v5

Conversation

@that-edward

Copy link
Copy Markdown
Contributor

Resolves #720

Changes proposed in this pull request:

  • Fixes issue on the v5 branch

  • I have tested my changes and corrected any errors found

CrazyCowboy8565 pushed a commit to CrazyCowboy8565/remasteredv1 that referenced this pull request Sep 9, 2026
Ports upstream PRs AsYetUntitled#722 and AsYetUntitled#721 by that-edward,
completed so the check holds for every side.

The revive system respawns the player immediately and parks them on a
corpse, so "alive player" stays true while they are down. The paycheck timer
read that as alive and kept paying out during death.

Switch the client FSM to life_is_alive, which the death and revive paths
already maintain. The upstream patches only set that flag for civilians,
which would have silently stopped cop and medic paychecks, so it is now set
once spawn selection completes for those sides too and reset on respawn.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeAaLGj94jGKfqv7xvkT9i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

logical error - death and paycheck

1 participant