1
0
mirror of https://github.com/fazo96/AIrium.git synced 2025-01-10 09:34:20 +01:00

fix some bugs

This commit is contained in:
Enrico Fasoli 2015-07-01 20:35:16 +02:00
parent 89edaf5b84
commit 19ea71a073

View File

@ -76,7 +76,7 @@ public class World {
//graveyard.sort(creatureComp);
int x = 0;
for (Creature c : graveyard) {
c.getBrain().getMutatedCopy(5f);
c.getBrain().remap(c.getBrain().getMutatedMap(3f));
if (x < creatPerGen) {
c.setHp(100);
creatures.add(c);