Closed Coderah closed 7 years ago
Yes it's more an haxe issue. Please open an one there that tells that using Type.createEmptyInstance + Std.instance doesn't work in JS.
This will work for JS target for NetworkHost:544
var n:NetworkSerializable = cast o;
This code NetworkHost:544 will always return
false
due to the way createEmptyInstance works in the JS implementation at Serializer.hx:473I'm not sure the best approach to fixing this, I'll likely do a hacky fix for the time being, potentially more of a Haxe JS implementation issue than hxbit?