From e3f110a9628c0384835509aab4f9d67090e55c61 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 26 Apr 2020 11:53:48 +0200 Subject: [PATCH] Fix typo. --- entities/stats/complex_level_stat_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/stats/complex_level_stat_data.cpp b/entities/stats/complex_level_stat_data.cpp index 12978d1..6b440ab 100644 --- a/entities/stats/complex_level_stat_data.cpp +++ b/entities/stats/complex_level_stat_data.cpp @@ -80,7 +80,7 @@ bool ComplexLevelStatData::_set(const StringName &p_name, const Variant &p_value if (ESS::get_instance()->stat_is_property(prop)) { int stat_id = ESS::get_instance()->stat_get_property_id(prop); - if (stat_id >= stat_id >= ESS::get_instance()->stat_get_main_stat_count()) { + if (stat_id >= ESS::get_instance()->stat_get_main_stat_count()) { return false; }