I have a problem with one strategy game. You can buy in it units for cash which just limits amount of units you can buy. I found a function in assembler which is taking control of units price. With this function i have found all units that i wanted to and changed their price to 1 from for example 1000. Then i added bonuses for them which cost some percent of units normal price, when its 1 then all bonuses cost few cash. And my problem is, when somebody joins my game after modifing those units he is kicked after few seconds because of some type of desync. I dont change any statistics- only price, so using those units wouldnt cause a desync. How can i fix this problem? I can provide useful info about this problem.
Regards