Skip to content

Commit 9479c52

Browse files
committed
Fixed a Visual Bug in ShowScreenshot
1 parent 15e0061 commit 9479c52

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

NewMod/Buttons/ShowScreenshotButton.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using UnityEngine;
77
using NewMod.Utilities;
88
using Reactor.Utilities;
9-
using System.IO;
109
using System.Linq;
1110

1211
namespace NewMod.Buttons
@@ -22,7 +21,7 @@ public class ShowScreenshotButton : CustomActionButton
2221
public override ButtonLocation Location => ButtonLocation.BottomRight;
2322
public override bool CanUse()
2423
{
25-
return VisionaryUtilities.CapturedScreenshotPaths.Any();
24+
return base.CanUse() && VisionaryUtilities.CapturedScreenshotPaths.Any();
2625
}
2726
protected override void OnClick()
2827
{

0 commit comments

Comments
 (0)