diff options
| author | historia <[not public]> | 2026-10-03 07:11:58 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-03 07:11:58 -0400 |
| commit | 0fb83bdf433b9b48240f4ac7a5d4c912f6b808cc (patch) | |
| tree | ac0af51cc2513b1ddd8a280f360af820d1f097af /internal/game/core_login_char.go | |
| parent | 6232d41e5639f9c38e47b2bb65266e343ca26e8f (diff) | |
| download | thehouseoficarus-0fb83bdf433b9b48240f4ac7a5d4c912f6b808cc.tar.gz | |
feat: added big 6 wheel to the casino
Diffstat (limited to 'internal/game/core_login_char.go')
| -rw-r--r-- | internal/game/core_login_char.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/core_login_char.go b/internal/game/core_login_char.go index 41e25b8..479e397 100644 --- a/internal/game/core_login_char.go +++ b/internal/game/core_login_char.go @@ -111,6 +111,10 @@ func (g *Game) connectCharacter(sess *net.Session, name string) { g.showMenu(sess) return } + // Log the disk state before identity backfill, missing-room rescue, or + // recording this login's visit can change it. Paired with shutdown saves, + // this distinguishes lost saves from loading a different/older file. + log.Printf("character loaded: %s room=%d explored=%d file=%s", p.Name, p.RoomID, p.Stats.RoomsVisited.Len(), g.AccountStore.CharPath(name)) g.adoptCharacterIdentity(p, sess.Account.Name) if g.Hub != nil { |
