Fixed immense server lag due to AI being replaced every tick.