Add some challenges to the world map
[carveJwlIkooP6JGAAIwe30JlM.git] / world_map.c
index 13de85cb735a09abf66eb6702952bfd2ae84dc4f..279942874459ebda7604cbaf8cb3ba12bc7c6ce5 100644 (file)
@@ -84,6 +84,13 @@ static void world_map_help_normal(void)
 
    if( gui_new_helper( input_button_list[k_srbind_mback], &text ) )
       vg_strcat( &text, "Exit" );
+
+   if( world_static.instances[1].status == k_world_status_loaded )
+   {
+      if( gui_new_helper( input_button_list[k_srbind_mhub], &text ) )
+         vg_strcat( &text, world_static.active_instance? 
+                              "Go to Hub": "Go to Active World" );
+   }
 }
 
 void world_map_pre_update(void)