Post: Fast restart crashing
02-11-2016, 06:22 PM #1
BullyWiiPlaza
Climbing up the ladder
(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.
(adsbygoogle = window.adsbygoogle || []).push({});
02-11-2016, 06:43 PM #2
jwm614
NextGenUpdate Elite
Originally posted by BullyWiiPlaza View Post
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:

BullyWiiPlaza
02-11-2016, 07:45 PM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by jwm614 View Post
Use false

Yep, it's that simple...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo