diff --git a/direct/src/distributed/AstronInternalRepository.py b/direct/src/distributed/AstronInternalRepository.py index 51d0ff6e2d..ba06142a9f 100644 --- a/direct/src/distributed/AstronInternalRepository.py +++ b/direct/src/distributed/AstronInternalRepository.py @@ -81,7 +81,7 @@ def msgpack_encode(dg, element): # Python does not distinguish between floats and doubles, so we send # everything as a double in MsgPack: dg.addUint8(0xcb) - dg.addFloat64(element) + dg.addBeFloat64(element) else: raise TypeError('Encountered non-MsgPack-packable value: %r' % element)