diff options
Diffstat (limited to 'internal/game/look_entities.go')
| -rw-r--r-- | internal/game/look_entities.go | 8 |
1 files changed, 7 insertions, 1 deletions
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 { |
