style: change some weird syntax

This commit is contained in:
Anna 2021-04-15 13:05:24 -04:00
parent 3f97ac642a
commit c349ab4b07
1 changed files with 2 additions and 2 deletions

View File

@ -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 {