Skip to content

Commit

Permalink
Add options background
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Jul 23, 2024
1 parent 1a0370e commit 97bb2dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file added Submerged/Resources/Images/OptionsBG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Submerged/SubmergedPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public override void Load()
ResourceManager.CacheSprite("FloorUp");
ResourceManager.CacheSprite("Logo", 400);
ResourceManager.CacheSprite("Logo", 250, "OptionsLogo");
ResourceManager.CacheSprite("OptionsBG");
ResourceManager.CacheSprite("OptionsIcon", 90);

LoadingManager.RegisterLoading(nameof(AssetLoader));
Expand Down
2 changes: 1 addition & 1 deletion Submerged/UI/Patches/MapOptionsButtonPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void AddToGameOptionsUI(GameOptionsMapPicker __instance)
{
Name = CustomMapNames.Submerged,
MapIcon = ResourceManager.spriteCache["OptionsIcon"],
// MapImage = ResourceManager.spriteCache["CreateGameBG"],
MapImage = ResourceManager.spriteCache["OptionsBG"],
NameImage = ResourceManager.spriteCache["OptionsLogo"]
});
}
Expand Down

0 comments on commit 97bb2dd

Please sign in to comment.