You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -124,7 +124,7 @@ void CameraServer::remove_feed(const Ref<CameraFeed> &p_feed) {
|
||||
#endif
|
||||
|
||||
// remove it from our array, if this results in our feed being unreferenced it will be destroyed
|
||||
feeds.remove(i);
|
||||
feeds.remove_at(i);
|
||||
|
||||
// let whomever is interested know
|
||||
emit_signal(SNAME("camera_feed_removed"), feed_id);
|
||||
|
||||
Reference in New Issue
Block a user