X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_map.c;fp=world_map.c;h=279942874459ebda7604cbaf8cb3ba12bc7c6ce5;hb=5bb71fef0e63780f95f403fb14b824778cecbe9b;hp=13de85cb735a09abf66eb6702952bfd2ae84dc4f;hpb=95f6ef1a859423a0d9554ac6a9f4c6cbd8bb540c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_map.c b/world_map.c index 13de85c..2799428 100644 --- a/world_map.c +++ b/world_map.c @@ -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)