Fixed global_weight_ennemy / allies was not working correctly