fix: get_editor_neighbours now actually gets editor neighbours

This commit is contained in:
Sara 2024-08-05 12:08:55 +02:00
parent 062ef478b4
commit 5abab18a86

View file

@ -47,7 +47,7 @@ gd::Vector<NavMarker*> const &NavRoom::get_markers() const {
gd::Array NavRoom::get_editor_neighbours() const {
gd::Array a{};
for(NavRoom *room : this->neighbours)
a.push_back(a);
a.push_back(room);
return a;
}