2
0
ncannasse 9 жил өмнө
parent
commit
c163589504

+ 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();