S
Spencer S
Guest
Everywhere I read, I see that not destroying DS_Grids and lists causes a memory leak that slows and eventually stops your game after a while. How do I use a ds_grid, which is populated with my inventory information, without causing a memory leak? I need to keep the grid active, because the grid is accessed whenever the player opens the inventory. And I obviously can't destroy the grid whenever the player isn't using the inventory, because then that wipes all inventory information. How do games get around this?