From c349ab4b07599984ee5cd2a4578e5c13f8d92880 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 15 Apr 2021 13:05:24 -0400 Subject: [PATCH] style: change some weird syntax --- Peeping Tom/TargetWatcher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Peeping Tom/TargetWatcher.cs b/Peeping Tom/TargetWatcher.cs index 2653b92..dc9db72 100644 --- a/Peeping Tom/TargetWatcher.cs +++ b/Peeping Tom/TargetWatcher.cs @@ -206,7 +206,7 @@ namespace PeepingTom { return; } - using WaveChannel32 channel = new(reader) { + using var channel = new WaveChannel32(reader) { Volume = this.Plugin.Config.SoundVolume, PadWithZeroes = false, }; @@ -226,7 +226,7 @@ namespace PeepingTom { } private void SendError(string message) { - Payload[] payloads = { + var payloads = new Payload[] { new TextPayload($"[{this.Plugin.Name}] {message}"), }; this.Plugin.Interface.Framework.Gui.Chat.PrintChat(new XivChatEntry {