Fix minimap
This commit is contained in:
@@ -227,6 +227,14 @@ public partial class Game : Node3D, IGame
|
||||
|
||||
public void FloorExitReached() => GameState.Input(new GameState.Input.FloorExitEntered());
|
||||
|
||||
public void ShowMinimap(bool isVisible)
|
||||
{
|
||||
if (_map.CurrentFloor is SpecialFloor)
|
||||
InGameUI.ShowMinimap(false);
|
||||
else
|
||||
InGameUI.ShowMinimap(true);
|
||||
}
|
||||
|
||||
public async Task UseItem(IBaseInventoryItem item)
|
||||
{
|
||||
if (item.ItemTag == ItemTag.MysteryItem)
|
||||
|
||||
Reference in New Issue
Block a user