Fix CA2215

This commit is contained in:
RoosterDragon
2023-03-12 17:52:01 +00:00
committed by abcdefg30
parent ef04e2e1e8
commit 1b1b9dc29b
2 changed files with 4 additions and 0 deletions

View File

@@ -819,6 +819,9 @@ dotnet_diagnostic.CA2200.severity = warning
# Initialize value type static fields inline.
dotnet_diagnostic.CA2207.severity = warning
# Dispose methods should call base class dispose.
dotnet_diagnostic.CA2215.severity = warning
# Override GetHashCode on overriding Equals.
dotnet_diagnostic.CA2218.severity = warning

View File

@@ -44,6 +44,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
protected override void Dispose(bool disposing)
{
Game.HideCursor = false;
base.Dispose(disposing);
}
}
}