From a3dda3035f1b68d0752ef582e3d71cb1e0729c4d Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 26 Feb 2020 21:15:36 +0100 Subject: [PATCH] Fix compile. --- data/loot/loot_data_base.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/loot/loot_data_base.cpp b/data/loot/loot_data_base.cpp index 955af99..b471864 100644 --- a/data/loot/loot_data_base.cpp +++ b/data/loot/loot_data_base.cpp @@ -89,8 +89,7 @@ void LootDataBase::set_item(const int index, const Ref &value) { } Array LootDataBase::get_loot() { - if (has_method("_get_loot")) - return call("_get_loot"); + return call("_get_loot"); } Array LootDataBase::_get_loot() {