potential fix to make css_rs a catch-all#183
Open
CyberFlameGO wants to merge 2 commits into
Open
Conversation
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.
Disclaimer in advance that this code is written by AI (I am not well-versed in C#) but my understanding is that this would make css_rs work on non-staged maps as well as let it provide a restart-bonus functionality from css_rb, to provide for redefining the use case of a css_r bind to being a hard-reset key on staged maps where it is convoluted to regain progress from an unintentional run reset. The rationale for this contribution is that it is the same underlying concept as KSF SurfTimer's sm_stuck command, and provides players with more familiar and/or intuitive stage restart logic. I'm submitting this here in the hopes that it will form the basis of implementation for this feature, as the CS2 surf server I frequent uses the code from this project.