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 CBM not drawing power #34862

Merged
merged 5 commits into from
Oct 22, 2019
Merged

Fix CBM not drawing power #34862

merged 5 commits into from
Oct 22, 2019

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix CBM not drawing power"

Purpose of change

Fix CBM not drawing power
Fixes #34745

Describe the solution

use units::energy instead of converting int to kilojoule
extend the use of energy::unit a little bit

Describe alternatives you've considered

Testing

Start new game with bionic prepper
Turn climate control on
Wait
Power goes down as expected.

Additional context

src/bionics.cpp Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Bionics CBM (Compact Bionic Modules) labels Oct 19, 2019
src/bionics.cpp Outdated Show resolved Hide resolved
Co-Authored-By: Karthas077 <[email protected]>
Co-Authored-By: anothersimulacrum <[email protected]>
src/player.h Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg merged commit 6d11156 into CleverRaven:master Oct 22, 2019
@Fris0uman Fris0uman deleted the no_power branch October 22, 2019 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bionics CBM (Compact Bionic Modules) <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.

Enhanced Memory Banks costs no power to use
4 participants