You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix binary marshalling of Objects
This commit is contained in:
@@ -1140,8 +1140,9 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo
|
||||
if (buf) {
|
||||
encode_uint32(0, buf);
|
||||
buf += 4;
|
||||
r_len += 4;
|
||||
}
|
||||
r_len += 4;
|
||||
|
||||
} else {
|
||||
_encode_string(obj->get_class(), buf, r_len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user