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

[Fix] Mood cool fixes #916

Merged
merged 3 commits into from
Nov 12, 2024
Merged

[Fix] Mood cool fixes #916

merged 3 commits into from
Nov 12, 2024

Conversation

Roudenn
Copy link
Collaborator

@Roudenn Roudenn commented Nov 12, 2024

Теперь когда кому-то грустно экран не становится серым сразу у всех на сервере.
Добавлен CVar для включения или выключения модификации порога крита от настроения

Overlays have a funny bug where the calls to update them are global.
Meaning if any single person gets a bad enough mood to greyscale
themselves, everyone globally gets greyscaled. This bug was also present
on Dogvision and Ultravision, and had the same cause. Frontier luckily
had a fix for those two, and the fix works here as well for the Mood
Overlay.

:cl:
- fix: Fixed an issue where Overlays(Dogvision, Ultravision, Mood) would
apply globally to all entities when updating.
This PR adds a CVar that allows server hosts (such as N14 who need it)
to optionally disable the Crit Threshold modification part of the
MoodSystem. This is useful if a server has some other system that
frequently messes with Thresholds, and that a server host wishes their
system to not have to fight with Mood for it.

No changelog because this isn't playerfacing.
@Roudenn Roudenn requested a review from Rxup as a code owner November 12, 2024 15:58
@Rxup Rxup merged commit 3c5d93c into Rxup:master Nov 12, 2024
10 checks passed
@Roudenn Roudenn deleted the mood-fix branch November 22, 2024 16:28
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.

3 participants