Fix some weird errors

This commit is contained in:
2025-02-28 12:17:34 -08:00
parent 6849c6c98e
commit c77584fd0d
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,10 @@
# This file is the BSON serializer for the Godot Engine,
# published under the MIT license. https://opensource.org/license/MIT
class_name BSON
extends Node
# Unfortunately, this has to be a node in order to be a singleton.
# I'd rather BSON wasn't in the scenetree, but it seems like that's
# the only way to do this. Hopefully this will change in the future.
static func to_bson(data: Dictionary) -> PackedByteArray: