You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Change sort_custom/bsearch_custom to use Callables
This commit is contained in:
@@ -2173,7 +2173,7 @@ Array TileSetEditor::_get_tiles_in_current_texture(bool sorted) {
|
||||
}
|
||||
}
|
||||
if (sorted) {
|
||||
a.sort_custom(this, "_sort_tiles");
|
||||
a.sort_custom(callable_mp(this, &TileSetEditor::_sort_tiles));
|
||||
}
|
||||
return a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user