ncannasse 9 سال پیش
والد
کامیت
c163589504
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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();