mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
This commit is contained in:
commit
13a90e938f
34 changed files with 65 additions and 82 deletions
|
@ -1988,7 +1988,7 @@ TypedArray<Vector3i> TextServer::parse_structured_text(StructuredTextParser p_pa
|
|||
}
|
||||
} break;
|
||||
case STRUCTURED_TEXT_LIST: {
|
||||
if (p_args.size() == 1 && p_args[0].get_type() == Variant::STRING) {
|
||||
if (p_args.size() == 1 && p_args[0].is_string()) {
|
||||
Vector<String> tags = p_text.split(String(p_args[0]));
|
||||
int prev = 0;
|
||||
for (int i = 0; i < tags.size(); i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue