fix compliation error from missing breaks in first constructor
This commit is contained in:
parent
b236dd964f
commit
97d467a62a
|
@ -44,6 +44,7 @@ namespace godotVmcSharp
|
||||||
}
|
}
|
||||||
path = (string)m.Data[0].Value;
|
path = (string)m.Data[0].Value;
|
||||||
title = (string)m.Data[1].Value;
|
title = (string)m.Data[1].Value;
|
||||||
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
if (m.Data[0].Type != 's')
|
if (m.Data[0].Type != 's')
|
||||||
{
|
{
|
||||||
|
@ -63,6 +64,7 @@ namespace godotVmcSharp
|
||||||
path = (string)m.Data[0].Value;
|
path = (string)m.Data[0].Value;
|
||||||
title = (string)m.Data[1].Value;
|
title = (string)m.Data[1].Value;
|
||||||
hash = (string)m.Data[2].Value;
|
hash = (string)m.Data[2].Value;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
GD.Print($"Invalid number of arguments for {addr} message. Expected 2 or 3 but received {m.Data.Count}");
|
GD.Print($"Invalid number of arguments for {addr} message. Expected 2 or 3 but received {m.Data.Count}");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user