You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was reading the source code, I found that limbo units seem to be counted in the quantity of the house that they belong to when they are delivered with the {RegisterGain} method, and when the program reads the {CountOwnedPresentAndLimboed }method, an additional count of limbo unit quantity is added. Causing discrepancies with actual quantities?
I added a debug and attempted to print the quantity of my limbo building by using CountOwnedPresentAndLimboed(all of this type of the building is limbo building),it gave twice as much as the actual quantity,however, CountOwnedAndPresent gave the correct one.....
Phobos Version
b43
Conditions to reproduce
No response
INI code
No response
Steps to reproduce
1.nope
2.nope
3.
...
Expected behaviour
CountOwnedPresentAndLimboed can get corret quantity of the type
Actual behaviour
CountOwnedPresentAndLimboed now = limbo + limbo +actual
Additional context
No response
Checklist
The issue happens on the latest official version of Phobos and wasn't fixed yet.
I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
I added a very descriptive title to this issue.
I used the GitHub search and read the issue list to find a similar issue and didn't find it.
I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).
The text was updated successfully, but these errors were encountered:
Description
When I was reading the source code, I found that limbo units seem to be counted in the quantity of the house that they belong to when they are delivered with the {RegisterGain} method, and when the program reads the {CountOwnedPresentAndLimboed }method, an additional count of limbo unit quantity is added. Causing discrepancies with actual quantities?
I added a debug and attempted to print the quantity of my limbo building by using CountOwnedPresentAndLimboed(all of this type of the building is limbo building),it gave twice as much as the actual quantity,however, CountOwnedAndPresent gave the correct one.....
Phobos Version
b43
Conditions to reproduce
No response
INI code
No response
Steps to reproduce
1.nope
2.nope
3.
...
Expected behaviour
CountOwnedPresentAndLimboed can get corret quantity of the type
Actual behaviour
CountOwnedPresentAndLimboed now = limbo + limbo +actual
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: