The helperDelete() function is causing a crash on pause and on loading. It might be better to just delete or deprecate the entire function anyways, as no memory leaks would come out of keeping the allocated structures in memory.
On the other hand, maybe it would be better to keep the function, if only because it is used during stage loading and game mode loading. Would help free up some memory for potential additions later down the line.
The helperDelete() function is causing a crash on pause and on loading. It might be better to just delete or deprecate the entire function anyways, as no memory leaks would come out of keeping the allocated structures in memory.
On the other hand, maybe it would be better to keep the function, if only because it is used during stage loading and game mode loading. Would help free up some memory for potential additions later down the line.