Actually bind _spell_learns in Entity. This fixes spell learning.

This commit is contained in:
Relintai 2020-07-10 21:21:31 +02:00
parent 4ab7e83956
commit f343482bf6

View File

@ -7532,4 +7532,5 @@ void Entity::_bind_methods() {
ClassDB::bind_method(D_METHOD("_moved"), &Entity::_moved);
ClassDB::bind_method(D_METHOD("_con_target_changed", "entity", "old_target"), &Entity::_con_target_changed);
ClassDB::bind_method(D_METHOD("_notification_sdeath"), &Entity::_notification_sdeath);
ClassDB::bind_method(D_METHOD("_spell_learns", "id"), &Entity::_spell_learns);
}