Alrik2002
Warlord
Hi,
I´ve some parts of my code which are called by a ModNetMessage when onCityBuilt is called. These is f.e. a bonus for the population for leaders with the trait expansive. I´ve these from platyping an they work great even when they are called by a ModNetMessage. The only Problem I have is, that tey don´t work when I give a settler the order to found a new city when he has no movement pints left. He founds the city automatically in the next round but without the bonus.
When I write the code directly in the function onCityBuilt it works but in Pitboss games, I got an OOS (that´s why I use the ModNetMessage).
Is there any way to solve this problem?
Thank you very much!
I´ve some parts of my code which are called by a ModNetMessage when onCityBuilt is called. These is f.e. a bonus for the population for leaders with the trait expansive. I´ve these from platyping an they work great even when they are called by a ModNetMessage. The only Problem I have is, that tey don´t work when I give a settler the order to found a new city when he has no movement pints left. He founds the city automatically in the next round but without the bonus.
When I write the code directly in the function onCityBuilt it works but in Pitboss games, I got an OOS (that´s why I use the ModNetMessage).
Is there any way to solve this problem?
Thank you very much!