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

Happiness issue - [Solved] #8

Open
AlexisLasselin opened this issue Dec 16, 2024 · 1 comment
Open

Happiness issue - [Solved] #8

AlexisLasselin opened this issue Dec 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AlexisLasselin
Copy link
Collaborator

Description

No matter how happy the population is, it will decrease in number.

Steps to Reproduce

  1. Launch a game
  2. Place a residential building
  3. Observe the population count decrease

Environment

  • Platform: Ubuntu 24.04.1 LTS
  • Version: V 1.0
  • Resolution: 1920x1080

Labels

  • Bug
@AlexisLasselin AlexisLasselin added the bug Something isn't working label Dec 16, 2024
@AlexisLasselin
Copy link
Collaborator Author

AlexisLasselin commented Dec 16, 2024

Issue solved in this commit: b7ce133

Happiness wasn't a percentage but went from 0 to 1 and not 0 to 100 as written in the code
By adding [0.] to each condition, the code works properly now, even if it's not the case on executables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants