From 97d467a62ae277e391177fdb5c32f5c5913ee3b9 Mon Sep 17 00:00:00 2001 From: Cassandra de la Cruz-Munoz Date: Thu, 17 Aug 2023 10:31:08 -0400 Subject: [PATCH] fix compliation error from missing breaks in first constructor --- VmcMessages/VmcExtVrm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VmcMessages/VmcExtVrm.cs b/VmcMessages/VmcExtVrm.cs index ee24e09..12cb992 100644 --- a/VmcMessages/VmcExtVrm.cs +++ b/VmcMessages/VmcExtVrm.cs @@ -44,6 +44,7 @@ namespace godotVmcSharp } path = (string)m.Data[0].Value; title = (string)m.Data[1].Value; + break; case 3: if (m.Data[0].Type != 's') { @@ -63,6 +64,7 @@ namespace godotVmcSharp path = (string)m.Data[0].Value; title = (string)m.Data[1].Value; hash = (string)m.Data[2].Value; + break; default: GD.Print($"Invalid number of arguments for {addr} message. Expected 2 or 3 but received {m.Data.Count}"); return;