Fix return type

This commit is contained in:
Travis Ralston 2020-06-12 08:40:08 -06:00
parent 6b54c3a492
commit 6de6d94f7c

View file

@ -508,7 +508,7 @@ export class Algorithm extends EventEmitter {
if (cause === RoomUpdateCause.NewRoom) { if (cause === RoomUpdateCause.NewRoom) {
// TODO: Be smarter and insert rather than regen the planet. // TODO: Be smarter and insert rather than regen the planet.
await this.setKnownRooms([room, ...this.rooms]); await this.setKnownRooms([room, ...this.rooms]);
return; return true;
} }
if (cause === RoomUpdateCause.RoomRemoved) { if (cause === RoomUpdateCause.RoomRemoved) {