diff options
| author | historia <[not public]> | 2026-06-29 01:00:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-29 01:00:17 -0400 |
| commit | e9d87838590a02c7ca028fad8cd16e42a582dd32 (patch) | |
| tree | 0d9770d8fc728946c5452e732efbad393a745a23 /internal/game/core_login_char.go | |
| parent | fffc132263ab7d3c402992bffbaae4790161f7a7 (diff) | |
| download | thehouseoficarus-e9d87838590a02c7ca028fad8cd16e42a582dd32.tar.gz | |
feat: self-signed certificates
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)) |
