can we have a help forum again pls thx
if (d1p >= 10)
gain floor(d1p/10) d1
d1p = d1p%10
that's the relevant code (though in an includes, so i changed the values to be what they were for the instance).
the game doesn't freeze until reaching 10 d1p.
d1p is a resource, d1 is a building.full game
now i have a workaround to this problem ("hope that resources are able to be decimals") but id rather leave it like this for simplicity