Fix compile.

This commit is contained in:
Relintai 2020-02-26 21:15:36 +01:00
parent 2486590bd3
commit a3dda3035f

View File

@ -89,8 +89,7 @@ void LootDataBase::set_item(const int index, const Ref<ItemTemplate> &value) {
}
Array LootDataBase::get_loot() {
if (has_method("_get_loot"))
return call("_get_loot");
return call("_get_loot");
}
Array LootDataBase::_get_loot() {