diff options
| -rw-r--r-- | core/variant_op.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index d67466556d..142919337d 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2676,7 +2676,7 @@ bool Variant::iter_next(Variant &r_iter, bool &valid) const {  			return true;  		} break;  		case VECTOR2: { -			int64_t to = reinterpret_cast<const Vector3 *>(_data._mem)->y; +			int64_t to = reinterpret_cast<const Vector2 *>(_data._mem)->y;  			int64_t idx = r_iter;  			idx++;  |