You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
String: Add contains().
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user