diff options
Diffstat (limited to 'internal/game/core_login_char.go')
| -rw-r--r-- | internal/game/core_login_char.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/core_login_char.go b/internal/game/core_login_char.go index d705684..b1d3d26 100644 --- a/internal/game/core_login_char.go +++ b/internal/game/core_login_char.go @@ -41,8 +41,8 @@ func (g *Game) handleNewCharName(sess *net.Session, input string) { } p := player.New(name) - p.RoomID = 1001 - p.Stats.RecordRoomVisit(1001) + p.RoomID = g.StartingRoom + p.Stats.RecordRoomVisit(g.StartingRoom) if err := g.AccountStore.SaveCharacter(p); err != nil { sess.WriteLine(fmt.Sprintf("Error creating character: %v", err)) |
