mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-05-11 22:42:10 +02:00
Fix typo.
This commit is contained in:
parent
fdcff467f1
commit
85e06a4ca9
@ -73,7 +73,7 @@ Vector<Variant> ESSResourceDBStatic::get_entity_resources() const {
|
|||||||
void ESSResourceDBStatic::set_entity_resources(const Vector<Variant> &data) {
|
void ESSResourceDBStatic::set_entity_resources(const Vector<Variant> &data) {
|
||||||
_entity_resources.clear();
|
_entity_resources.clear();
|
||||||
for (int i = 0; i < data.size(); i++) {
|
for (int i = 0; i < data.size(); i++) {
|
||||||
Ref<EntityResource> d = Ref<EntityResource>(data[i]);
|
Ref<EntityResourceData> d = Ref<EntityResourceData>(data[i]);
|
||||||
|
|
||||||
add_entity_resource(d);
|
add_entity_resource(d);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user