1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-03-16 02:30:16 +01:00

Fix item size for Player cards array

This commit is contained in:
Tom Stellard 2021-03-19 20:17:15 -07:00 committed by Tom Stellard
parent 068308636e
commit 879190e971

View File

@ -1467,7 +1467,7 @@ player_season_start(Player *pl, gfloat skill_change)
if(pl->cards->len > 0)
{
g_array_free(pl->cards, TRUE);
pl->cards = g_array_new(FALSE, FALSE, sizeof(PlayerGamesGoals));
pl->cards = g_array_new(FALSE, FALSE, sizeof(PlayerCard));
}
if(skill_change != 0)