Skip to content
Snippets Groups Projects
Commit 37662ba1 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

butterflies: fixed last commit

parent bd14a580
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ enum action_status bf_action_generation_update(struct cats_grid *grid, struct ca ...@@ -329,7 +329,7 @@ enum action_status bf_action_generation_update(struct cats_grid *grid, struct ca
struct grid_data_butterflies *data = grid->grid_modules[module_id].module_data; struct grid_data_butterflies *data = grid->grid_modules[module_id].module_data;
struct conf_data_butterflies *module_conf = CATS_MODULE_DATA; struct conf_data_butterflies *module_conf = CATS_MODULE_DATA;
const int64_t egg_cells_id = module_conf->stat_ids[BF_CELLS_WITH_EGGS]; const int64_t egg_cells_id = module_conf->stat_ids[BF_CELLS_WITH_EGGS];
const int64_t egg_cells_removed_id = module_conf->stat_ids[BF_CELLS_WITH_EGGS]; const int64_t egg_cells_removed_id = module_conf->stat_ids[BF_CELLS_WITH_EGGS_REMOVED];
grid->stats.custom_stats[egg_cells_id] = 0; grid->stats.custom_stats[egg_cells_id] = 0;
grid->stats.custom_stats[egg_cells_removed_id] = 0; grid->stats.custom_stats[egg_cells_removed_id] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment