mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-19 21:33:15 +02:00
getc_health, and getc_speed now properly return the clientside resources.
This commit is contained in:
parent
64473375d7
commit
4b9c18f23c
@ -2619,10 +2619,10 @@ Ref<EntityResource> Entity::gets_speed() {
|
||||
return _s_resources.get(EntityEnums::ENTITY_RESOURCE_INDEX_SPEED);
|
||||
}
|
||||
Ref<EntityResource> Entity::getc_health() {
|
||||
return _s_resources.get(EntityEnums::ENTITY_RESOURCE_INDEX_HEALTH);
|
||||
return _c_resources.get(EntityEnums::ENTITY_RESOURCE_INDEX_HEALTH);
|
||||
}
|
||||
Ref<EntityResource> Entity::getc_speed() {
|
||||
return _s_resources.get(EntityEnums::ENTITY_RESOURCE_INDEX_SPEED);
|
||||
return _c_resources.get(EntityEnums::ENTITY_RESOURCE_INDEX_SPEED);
|
||||
}
|
||||
|
||||
Vector<Variant> Entity::sresources_get() {
|
||||
|
Loading…
Reference in New Issue
Block a user