Party again!!!
Martin, you are a genius!. The FinishImprovements fuction is working perfecly. It just cant come together with the CreateImprovements fuctions.
Now one of the earliest bug that was with me since the beginning of the coding has come to a end.
I only need to get the new capture options to work with it. After that case closed.
EDIT:
more Party!!!
I dont know what have i changed but the code is totally fuctional now. The new capture options is compatible and the CreateUnit does work (I think i was too much of unexperienced slicer when i test it)
And since party is never too much and i am so happy that every single apect of the code i disliked is now working properly


Let's Celebrate!!!

hangover 
Here is the updated version of the code.


. That really made me sad but I did some more testing with it and I found out that the CreateUnit does work. The problem is that there isnt a unit variable. if you take a good look in the database you will find that the unit_t variable is just to save the unit when it is used as a function
Comment