From 0f812ccc307ea0550511ccced40b65dfb0cdaa91 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 20:11:29 -0400 Subject: fix: world and casino integrity fixes --- internal/game/look_entities.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'internal/game/look_entities.go') diff --git a/internal/game/look_entities.go b/internal/game/look_entities.go index 70077a3..e06d49f 100644 --- a/internal/game/look_entities.go +++ b/internal/game/look_entities.go @@ -230,7 +230,13 @@ func (g *Game) showRoomCasinos(sess *net.Session, room *world.Room) []string { } var lines []string for _, table := range room.CasinoTables { - name := casinoGameLabel(table.Game) + " table" + // Legacy slots declared under casino_tables are instantiated as the + // room's slots machine, so label them as a machine, not a table. + kind := "table" + if table.Game == casino.GameSlots { + kind = "machine" + } + name := casinoGameLabel(table.Game) + " " + kind lines = append(lines, fmt.Sprintf("A %s is here.", g.colorize(sess, "casino_action", name))) } for _, machine := range room.CasinoMachines { -- cgit v1.2.3