Skip to content

Commit 0ea4b4b

Browse files
Griseo-bh3rdSirin3rd
authored andcommitted
fix: 未初始化消息集合
1 parent ceed5c6 commit 0ea4b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/Broadcast.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public override string ToString()
3333
}
3434
public class BroadcastMain
3535
{
36-
public static List<BroadcastItem> globals;
37-
public static List<BroadcastItem> normals;
36+
public static List<BroadcastItem> globals = new List<BroadcastItem>;
37+
public static List<BroadcastItem> normals = new List<BroadcastItem>;
3838
public static void SendGlobalcast(BroadcastItem item)
3939
{
4040
globals.Add(item);

0 commit comments

Comments
 (0)