mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05: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