diff options
| author | historia <[not public]> | 2026-10-02 17:51:46 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-02 17:51:46 -0400 |
| commit | cac16d1725c46c82a2e62b84c93f7090b2ce0746 (patch) | |
| tree | e54f6624bdeb47421587656757ef3ce4fd7ebb3f /internal/game/casino.go | |
| parent | 4f40f116ba884111c9a66849e620ff9fbc67530a (diff) | |
| download | thehouseoficarus-cac16d1725c46c82a2e62b84c93f7090b2ce0746.tar.gz | |
feat: craps table color improvements, die improvements
Diffstat (limited to 'internal/game/casino.go')
| -rw-r--r-- | internal/game/casino.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/game/casino.go b/internal/game/casino.go index 21f9627..dc9f8f0 100644 --- a/internal/game/casino.go +++ b/internal/game/casino.go @@ -6,7 +6,6 @@ import ( "os" "strconv" "strings" - "time" "unicode/utf8" "thehouseoficarus/internal/cardart" @@ -542,11 +541,7 @@ func (g *Game) executeTableAction(sess *net.Session, action string) { func (g *Game) CasinoTick() { if g.Casino != nil { - ms := 600 - if g.Ticks != nil { - ms = g.Ticks.TickLengthMilliseconds() - } - g.emitCasinoEvents(g.Casino.TickElapsed(time.Duration(ms) * time.Millisecond)) + g.emitCasinoEvents(g.Casino.Tick()) } } |
