fix(datatypes): instance ref serialized to wrong name

This commit is contained in:
maelstrom 2025-04-26 15:12:22 +02:00
parent 76554c8295
commit b9c8022f6f

View file

@ -14,7 +14,7 @@ Data::InstanceRef::InstanceRef(std::weak_ptr<Instance> instance) : ref(instance)
Data::InstanceRef::~InstanceRef() = default;
const Data::TypeInfo Data::InstanceRef::TYPE = {
.name = "Instance",
.name = "Ref",
.deserializer = &Data::InstanceRef::Deserialize,
.fromLuaValue = &Data::InstanceRef::FromLuaValue,
};