RatAttack: fixed case list for >20 cases …

It’s one of these days when you look at your code and you are like “WTF was I thinking?!”.
This commit is contained in:
alterNERDtive 2020-11-23 20:52:44 +01:00
parent 72af5a3683
commit 01c162c459

View file

@ -1,6 +1,7 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using alterNERDtive.util;
@ -8,7 +9,7 @@ namespace RatAttack
{
public class RatAttack
{
private static RatCase[] CaseList { get; } = new RatCase[20];
private static Dictionary<int,RatCase> CaseList { get; } = new Dictionary<int, RatCase>();
private static dynamic? VA { get; set; }
private static alterNERDtive.util.PipeServer<Ratsignal> RatsignalPipe
=> ratsignalPipe ??= new alterNERDtive.util.PipeServer<Ratsignal>(Log, "RatAttack",