Skip to content

Commit

Permalink
Fix broken level list option (#2877)
Browse files Browse the repository at this point in the history
* Fix broken node in OptionsMenu

* Reference the right OptionsMenu from WeatherActor

* Remove old OptionsMenu
  • Loading branch information
Sai Vemprala authored Jul 29, 2020
1 parent 1e377e0 commit 91e0da4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Binary file modified Unreal/Plugins/AirSim/Content/HUDAssets/OptionsMenu.uasset
Binary file not shown.
Binary file not shown.
8 changes: 2 additions & 6 deletions Unreal/Plugins/AirSim/Source/Weather/WeatherLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,11 @@ class AIRSIM_API UWeatherLib : public UBlueprintFunctionLibrary
{
return FSoftClassPath(TEXT("AActor'/AirSim/Weather/WeatherFX/WeatherActor.WeatherActor_C'"));
}

static const FSoftClassPath getWeatherMenuWidgetClass()
{
return FSoftClassPath(TEXT("UUserWidget'/AirSim/Weather/UI/OptionsMenu.OptionsMenu_C'"));
return FSoftClassPath(TEXT("UUserWidget'/AirSim/HUDAssets/OptionsMenu.OptionsMenu_C'"));
}
/*static const FSoftClassPath getMenuClass()
{
return TEXT("/AirSim/Weather/UI/OptionsMenu.OptionsMenu_C");
}*/
// menu class name for finding and closing it
static const FString getWeatherMenuClassName()
{
Expand Down

0 comments on commit 91e0da4

Please sign in to comment.