In the function changeResearchProgress(itech, ichange, iplayer)
when ichange = player.getCommerceRate (CommerceTypes.COMMERCE_RESEARCH) * 2
it works, but if there is ichange player.getCommerceRate (CommerceTypes.COMMERCE_RESEARCH) / 2 it doesn't work anymore.
And I am asking why when there is division instead of multiplication, it doesn't work anymore.
when ichange = player.getCommerceRate (CommerceTypes.COMMERCE_RESEARCH) * 2
it works, but if there is ichange player.getCommerceRate (CommerceTypes.COMMERCE_RESEARCH) / 2 it doesn't work anymore.
And I am asking why when there is division instead of multiplication, it doesn't work anymore.