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

Don't wake up characters under anesthesia #42270

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

Fris0uman
Copy link
Contributor

@Fris0uman Fris0uman commented Jul 19, 2020

Summary

SUMMARY: Bugfixes "Don't wake up characters under anesthesia"

Purpose of change

Fixes #41930

Describe the solution

Wake_up function bails if the character has the narcosis effect
Don't display message about shivering if under anesthesia
Don't top off sleep and narcosis effect if the time added is 0

Describe alternatives you've considered

Testing

Load save from the issue
Uninstall a CBM

Before fix: gets wake up/sleep spam
After fix: no spam, no waking up before the end of the operation

Additional context

This might have cropped up as a side effect of having damaged feet/hands/mouth/eyes and being cold from them. But that issue is fixed too now.

@anothersimulacrum anothersimulacrum added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` labels Jul 20, 2020
@ZhilkinSerg ZhilkinSerg merged commit dd7305f into CleverRaven:master Jul 20, 2020
@Fris0uman Fris0uman deleted the autodocsleep branch July 20, 2020 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autodoc makes the character fall asleep and wakeup repeatedly while performing operation
4 participants