Skip to content

Commit 361fafb

Browse files
committed
ArgumentException: Lockstep.SerializableValue`1[TValue] is an open generic type
1 parent 1d797bd commit 361fafb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Core/Game/Player/Commands/Command.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ public static void Setup () {
2424

2525
static void RegisterDefaults ()
2626
{
27-
#if UNITY_IOS
27+
//#if UNITY_IOS
2828
Register<DefaultData> ();
2929
Register<EmptyData> ();
3030
Register<Coordinate> ();
3131
Register<Selection> ();
3232
Register<Vector2d> ();
3333
Register<Vector3d> ();
34-
#else
35-
foreach (Type t in Assembly.GetCallingAssembly().GetTypes())
36-
{
37-
if (t.GetInterface("ICommandData") != null)
38-
{
39-
Register (t);
40-
}
41-
}
42-
#endif
34+
//#else
35+
//foreach (Type t in Assembly.GetCallingAssembly().GetTypes())
36+
//{
37+
//if (t.GetInterface("ICommandData") != null)
38+
//{
39+
//Register (t);
40+
//}
41+
//}
42+
//#endif
4343
}
4444

4545
private static void Register<TData>() where TData : ICommandData

0 commit comments

Comments
 (0)