T
TypicalHog
Guest
// Create chunk grid
global.chunk_grid = ds_grid_create(global.grid_width, global.grid_height);
ds_grid_clear(global.chunk_grid, noone);
// Create loader grid
global.loader_list = ds_list_create();
ds_list_clear(global.loader_list);
// Destroy ds_grid and ds_list
ds_grid_destroy(global.chunk_grid);
ds_list_destroy(global.loader_list);
ds_grid and/or ds_map is staying in the memory when the game is restarted for some reason.
global.chunk_grid = ds_grid_create(global.grid_width, global.grid_height);
ds_grid_clear(global.chunk_grid, noone);
// Create loader grid
global.loader_list = ds_list_create();
ds_list_clear(global.loader_list);
// Destroy ds_grid and ds_list
ds_grid_destroy(global.chunk_grid);
ds_list_destroy(global.loader_list);
ds_grid and/or ds_map is staying in the memory when the game is restarted for some reason.