mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
String: Add contains().
This commit is contained in:
parent
bf12719cca
commit
adbe948bda
57 changed files with 142 additions and 119 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue