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