-
-
Notifications
You must be signed in to change notification settings - Fork 130
Description
π Please confirm the following
- I agree to follow the Code of Conduct that this project adheres to.
- I checked the current issues for duplicate bugs.
β Current Behavior
both speed stats increase with rising levels, but that in the greendinoComponent the levelManager is not working. This means the green dinos are always moving and shooting at the same speed.
β Expected Behavior
If the level is increasing both speed stats should be used by the dinos.
π© Steps To Reproduce
Its hard to see in game, but if you print the stats out over the console you see that the stats doesn't change
π» Environment
- OS: Windows 11
- Game version: 1.2.0βΉοΈ Additional information
i have found this bug while i added the red dino boss.
Here is how the levelmanger should be included but this does not work.

Here is my solution:
I made a global variable for the levelmanger and the first time the dino gets updated the stats get read out. Thats because you have to assign the levelmanager manually and the onAdded function fires before the levelmanger is assigned.

This solution works but its not very beautiful. maybe someone finds a better one.
Metadata
Metadata
Assignees
Labels
Projects
Status
