Fix for paycheck during death v5 - #722
Open
that-edward wants to merge 1 commit into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #720
Changes proposed in this pull request:
Fixes issue on the v5 branch
I have tested my changes and corrected any errors found