mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-20 17:14:44 +01:00
Removed a few forgotten debug lines.
This commit is contained in:
parent
927e1d5b14
commit
d3951436bd
@ -289,7 +289,7 @@ void EntityClassData::_setup_resources(Node *entity) {
|
||||
Ref<EntityResource> res = _entity_resources.get(i);
|
||||
|
||||
if (res.is_valid()) {
|
||||
Ref<EntityResource> r = res->duplicate(false);
|
||||
Ref<EntityResource> r = res->duplicate();
|
||||
|
||||
ent->resource_adds(r);
|
||||
}
|
||||
|
@ -1384,7 +1384,7 @@ void Entity::_from_dict(const Dictionary &dict) {
|
||||
|
||||
ERR_CONTINUE(!resd.is_valid());
|
||||
|
||||
Ref<EntityResource> res = resd->duplicate(true);
|
||||
Ref<EntityResource> res = resd->duplicate();
|
||||
|
||||
ERR_CONTINUE(!res.is_valid());
|
||||
|
||||
@ -2455,9 +2455,9 @@ void Entity::resource_addc_rpc(int index, String data) {
|
||||
Ref<EntityResource> resd = ESS::get_singleton()->get_resource_db()->get_entity_resource(data_id);
|
||||
|
||||
ERR_FAIL_COND(!resd.is_valid());
|
||||
print_error("aaa");
|
||||
Ref<EntityResource> res = resd->duplicate(true);
|
||||
print_error("bbb");
|
||||
|
||||
Ref<EntityResource> res = resd->duplicate();
|
||||
|
||||
ERR_FAIL_COND(!res.is_valid());
|
||||
|
||||
res->from_dict(dict);
|
||||
|
Loading…
Reference in New Issue
Block a user