(adsbygoogle = window.adsbygoogle || []).push({});
When I perform a 2nd fast restart after the initial one, my game always crashes. Why is that? Does anyone have an idea how this could be caused? The first fast restart is fine though. I'm using the following code:
fastRestart()
{
map_restart(true);
}
I tried notifying that the game has ended via
level notify("game_ended");
to force various functions to stop before restarting but it didn't help.
When I perform a 2nd fast restart after the initial one, my game always crashes. Why is that? Does anyone have an idea how this could be caused? The first fast restart is fine though. I'm using the following code:
fastRestart()
{
map_restart(true);
}
I tried notifying that the game has ended via
level notify("game_ended");
to force various functions to stop before restarting but it didn't help.
Use false
The following user thanked jwm614 for this useful post: