You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Fix String content test
This commit is contained in:
@@ -2573,7 +2573,7 @@ bool Variant::in(const Variant& p_index, bool *r_valid) const {
|
||||
String idx=p_index;
|
||||
const String *str=reinterpret_cast<const String*>(_data._mem);
|
||||
|
||||
return str->find("idx")!=-1;
|
||||
return str->find(idx)!=-1;
|
||||
}
|
||||
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user