Browse Source

Fix use of another NetworkSerializable class as paremeter of a rpc function

Pascal Peridont 9 years ago
parent
commit
9edcbd7f42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/net/Macros.hx

+ 1 - 1
hxd/net/Macros.hx

@@ -452,7 +452,7 @@ class Macros {
 				}
 			}
 			var cexpr = Context.parse(loop(t.t).toString(), v.pos);
-			return macro $v = $ctx.getRef($cexpr,$cexpr.__clid);
+			return macro $v = $ctx.getRef($cexpr,@:privateAccess $cexpr.__clid);
 		case PAlias(at):
 			var cvt = at.t;
 			return macro {