mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
String: Add contains().
This commit is contained in:
parent
bf12719cca
commit
adbe948bda
57 changed files with 142 additions and 119 deletions
|
|
@ -171,7 +171,7 @@ void DependencyEditor::_update_list() {
|
|||
String path;
|
||||
String type;
|
||||
|
||||
if (n.find("::") != -1) {
|
||||
if (n.contains("::")) {
|
||||
path = n.get_slice("::", 0);
|
||||
type = n.get_slice("::", 1);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue