From 25eb79278e70ba77490b293cc02976f3dbdbd179 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Wed, 12 May 2021 09:59:03 -0700 Subject: [PATCH] fix(core): Reverts change to Serial.IsValid (#596) --- Projects/Server/Serial.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Server/Serial.cs b/Projects/Server/Serial.cs index cb92a3e89..5f76dde2f 100644 --- a/Projects/Server/Serial.cs +++ b/Projects/Server/Serial.cs @@ -42,7 +42,7 @@ namespace Server public bool IsValid { [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => this != MinusOne; + get => Value > 0; } [MethodImpl(MethodImplOptions.AggressiveInlining)]