fix: get_editor_neighbours now actually gets editor neighbours
This commit is contained in:
parent
062ef478b4
commit
5abab18a86
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue