1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-25 22:50:27 -05:00

Initial .net 6 upgrades

This commit is contained in:
RaidMax
2022-01-26 10:32:16 -06:00
parent 513f0afd34
commit 6f6dd035ee
170 changed files with 2805 additions and 2577 deletions

View File

@ -2,6 +2,7 @@
using SharedLibraryCore;
using System;
using System.Linq;
// ReSharper disable CompareOfFloatsByEqualityOperator
namespace LiveRadar
{
@ -22,7 +23,9 @@ namespace LiveRadar
public Vector3 RadianAngles => new Vector3(ViewAngles.X.ToRadians(), ViewAngles.Y.ToRadians(), ViewAngles.Z.ToRadians());
public int Id => GetHashCode();
#pragma warning disable CS0659
public override bool Equals(object obj)
#pragma warning restore CS0659
{
if (obj is RadarEvent re)
{