A
ajax_sripts
Guest
When I use game_restart(), do objects execute "on destruction" event?
I have some objects that have ds_grid_create inside, game creates them in the beggining and they always active. To avoid memory leaks, will it be enough to destroy grids in "on destruction" event of those objects, or do I need to execute "ds_grid_destroy" in the script with "game_restart()"?
I'm using gm8.1.
I have some objects that have ds_grid_create inside, game creates them in the beggining and they always active. To avoid memory leaks, will it be enough to destroy grids in "on destruction" event of those objects, or do I need to execute "ds_grid_destroy" in the script with "game_restart()"?
I'm using gm8.1.