mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use get_slicec instead of get_slice for single character splitters
This commit is contained in:
parent
b5bdb88062
commit
466590d0ec
58 changed files with 210 additions and 210 deletions
|
|
@ -290,7 +290,7 @@ void EditorDebuggerInspector::clear_stack_variables() {
|
|||
String EditorDebuggerInspector::get_stack_variable(const String &p_var) {
|
||||
for (KeyValue<StringName, Variant> &E : variables->prop_values) {
|
||||
String v = E.key.operator String();
|
||||
if (v.get_slice("/", 1) == p_var) {
|
||||
if (v.get_slicec('/', 1) == p_var) {
|
||||
return variables->get_variant(v);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue