You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
String: Add contains().
This commit is contained in:
@@ -827,7 +827,7 @@ Error GDScript::reload(bool p_keep_state) {
|
||||
return OK;
|
||||
}
|
||||
#else
|
||||
if (source.find("_BASE_") != -1) {
|
||||
if (source.contains("_BASE_")) {
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user