aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_room.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-16 15:00:46 -0400
committerhistoria <[not public]>2026-09-16 15:00:46 -0400
commita6cf03a6ae98e4fb675da25046d148e92bcf7206 (patch)
tree194499fe9e696be8c31cd915b7ad92678f9f95e0 /internal/game/act_room.go
parent9192d94dea6be5498ab080f3e2df5667af871d7a (diff)
downloadthehouseoficarus-a6cf03a6ae98e4fb675da25046d148e92bcf7206.tar.gz
chore: staticcheck and gofmt cleanups
Diffstat (limited to 'internal/game/act_room.go')
-rw-r--r--internal/game/act_room.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/game/act_room.go b/internal/game/act_room.go
index 889ce85..792d8bd 100644
--- a/internal/game/act_room.go
+++ b/internal/game/act_room.go
@@ -75,11 +75,3 @@ func (g *Game) BroadcastRespawns() {
}
}
}
-
-// isCharLive reports whether the named player is currently connected via the
-// given session (used by older helpers that still reference it).
-func (g *Game) isCharLive(name string, sess *net.Session) bool {
- g.charsMu.Lock()
- defer g.charsMu.Unlock()
- return g.loggedInChars[name] == sess
-}