TNODevs / TNO-Bug-Tracker

Public bug submission tracker and forum for The New Order: Last Days of Europe
29 stars 36 forks source link

IRK - Global population disappear because of irk's decision #2452

Closed MrStraws114514 closed 1 year ago

MrStraws114514 commented 1 year ago

Operating System

Windows 11

HOI4 version

1.13.1

TNO version

1.5.0a

Do you have other mods in use?

none

Were you using Steam?

No

Which major expansions do you NOT have?

I have all

Files

No response

Describe the bug

At some point, the population of any states may drop significantly or even go 0 This bug has been here since 1.4.1, perhaps longer the states where this bug occurs are all over the world, but it's not completely random, always happens on Deserts, villages, islands and enclaves, but they all fall to -$1 per capita in map when this bug occurs Also, population disappear is not happening at the end of the month when population counts, it happens in the middle of the month the time when bug happens is not random either, it has a fixed time, across 1968-1970 I even tried to delete all files in tno -common- scripted_effects (pretty sure i deleted them all) and I saw the gdp per capita map stopped working but the population bug still happened

Steps to reproduce / Cause of the issue

TNO-common-decisions-TNO_RUS_Irkutsk_decisions in decision IRK_party_reform_4, this decision will add city population and reduce village and islands population but it used "every_state" not "every_controlled_state", that means it will influence whole world...

Expected behaviour

this bug never happens anymore

Screenshots

No response

Additional information

No response

MrStraws114514 commented 1 year ago

No, the effect of reducing population must be completely removed even use "every_controlled_state", it will still cause the population of parts of Irkutsk to 0

runelead00 commented 1 year ago

honestly the effect doesn't make much sense at all for the decision itself, effect adjusted and fixed in dev build