Skip to content

Fix getting the starting room from RoomManager#203

Merged
shawncplus merged 3 commits intoRanvierMUD:stagingfrom
heyitsmdr:mdr/fix-starting-room
Mar 27, 2017
Merged

Fix getting the starting room from RoomManager#203
shawncplus merged 3 commits intoRanvierMUD:stagingfrom
heyitsmdr:mdr/fix-starting-room

Conversation

@heyitsmdr
Copy link
Contributor

When a player is hydrated, if the player isn't in a valid room, a call to state.RoomManager.getStartingRoom() is made, which is undefined.

@shawncplus
Copy link
Member

The fix here is to just fix the place that calls getStartingRoom() to use .startingRoom like https://github.com/shawncplus/ranviermud/blob/staging/bundles/ranvier-input-events/input-events/finish-player.js#L21

@heyitsmdr
Copy link
Contributor Author

Cool, I'll update that.

@shawncplus shawncplus merged commit 6d489e3 into RanvierMUD:staging Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants