#include "audio.h"
#include "input.h"
#include "workshop.h"
+#include "respawn.h"
#define MENU_STACK_SIZE 8
if( MDL_CONST_PSTREQ( &menu.model, q, "quit" ) ){
vg.window_should_close = 1;
}
+
+ /* DEPRECATED? */
else if( MDL_CONST_PSTREQ( &menu.model, q, "reset_nearest" ) ){
localplayer_cmd_respawn( 0, NULL );
menu_close();
}
+ /* DEPRECATED? */
else if( MDL_CONST_PSTREQ( &menu.model, q, "reset_home" ) ){
world_set_active_instance( 0 );
localplayer.viewable_world = world_current_instance();
localplayer_cmd_respawn( 1, (const char *[]){"start"} );
menu_close();
}
+
+ else if( MDL_CONST_PSTREQ( &menu.model, q, "reset" ) ){
+ menu_close();
+ respawn_begin_chooser();
+ }
+
else if( MDL_CONST_PSTREQ( &menu.model, q, "credits" ) ){
menu.credits_open = 1;
}