Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Refactors how CI is handled and cleans up signals #2238

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Original PR: NovaSector/NovaSector#1244

About The Pull Request

This splits the proc for how CI is set into three procs, as well as it cleans up the signal handlers for CI. The signal handlers before where never executing, this fix makes them properly fire. This also fixes the surrender button not being removed upon death. (Fixes #1205)

As well as it cleans up and adds additional logging for admins, it also changes the color for the logs making them a little more readable (dark blue on gray was really hard to read sometimes)

How This Contributes To The Nova Sector Roleplay Experience

This is mostly code based, but it does clean up the hud when someone goes unconscious removing the surrender button when it wasn't before

Proof of Testing

Screenshots/Videos
dreamseeker_0i9wVXTTYt.mp4

nLLtfFglVN

Changelog

🆑 SomeRandomOwl
fix: If you die or fall unconscious with Combat Indicator turned on, you will properly lose CI and the surrender button
refactor: Refactored how Combat Indicator is handled in the backend
admin: Added additional logging for when someone dies / falls unconscious with CI on, as well as changed the color of the logs for readability.
/:cl:

* Refactors how CI is handled and cleans up signals

* Clean up unneeded if, addresses review
@Iajret Iajret merged commit 5555a9d into master Mar 4, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1244 branch March 4, 2024 12:03
AnywayFarus added a commit that referenced this pull request Mar 4, 2024
Iajret pushed a commit that referenced this pull request May 14, 2024
…on (#2238)

* Initial

* Woops

* Apply suggestions from code review

Co-authored-by: Bloop <[email protected]>

* changes

* fix missing var

* This got missed

* Unneeded

* Tabs

* Apply suggestions from code review

Co-authored-by: Bloop <[email protected]>

* Balancing

* Docs

* Wield Fix

---------

Co-authored-by: Bloop <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants