From 6a34ab201ab17363ce0d64d56469ff7fdd506c8c Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Fri, 11 Dec 2015 10:15:05 -0300 Subject: [PATCH] Fix "in" operator, make it use evaluate() instead of operator== --- core/variant_op.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/variant_op.cpp b/core/variant_op.cpp index 1bcfa7d2aee..e33b79e63c7 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2635,7 +2635,7 @@ bool Variant::in(const Variant& p_index, bool *r_valid) const { if (l) { for(int i=0;i