ncannasse %!s(int64=9) %!d(string=hai) anos
pai
achega
c163589504
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/net/NetworkHost.hx

+ 1 - 1
hxd/net/NetworkHost.hx

@@ -46,7 +46,7 @@ class NetworkClient {
 			host.makeAlive();
 		case NetworkHost.UNREG:
 			var o : hxd.net.NetworkSerializable = cast ctx.refs[ctx.getInt()];
-			o.enableReplication = false;
+			o.__host = null;
 			ctx.refs.remove(o.__uid);
 		case NetworkHost.FULLSYNC:
 			ctx.refs = new Map();