From 9a38e3a440698f31234e00adbcd5a922996f8e91 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 4 Feb 2022 17:09:35 -0500 Subject: [PATCH] refactor: remove useless null check --- ChatTwo/PayloadHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatTwo/PayloadHandler.cs b/ChatTwo/PayloadHandler.cs index 4a3a8d0..e784f6d 100755 --- a/ChatTwo/PayloadHandler.cs +++ b/ChatTwo/PayloadHandler.cs @@ -52,7 +52,7 @@ internal sealed class PayloadHandler { var (chunk, payload) = this.Popup.Value; - if (PopupId == null || !ImGui.BeginPopup(PopupId)) { + if (!ImGui.BeginPopup(PopupId)) { this.Popup = null; return; }