Code: https://github.com/hats-finance/games/blob/main/contracts/Game.sol#L190-L194
The struct of the Mon is
struct Mon {
uint8 water;
uint8 air;
uint8 fire;
uint8 speed;
}
so the correct order when creating a new Mon should be
-newMon = Mon(fire, water, air, speed);
+newMon = Mon(water, air, fire, speed);
Code: https://github.com/hats-finance/games/blob/main/contracts/Game.sol#L190-L194
The struct of the
Monisso the correct order when creating a new
Monshould be