fix: message insuffition coins fix
This commit is contained in:
+1
-1
@@ -441,7 +441,7 @@ func (h *Hub) enqueue(c *Client, tier string) {
|
||||
}
|
||||
// کسر ورودی میز؛ اگر سکه کافی نبود، اجازه ورود به صف داده نمیشود.
|
||||
if err := h.settler.ChargeEntry(c.UserID, tier); err != nil {
|
||||
c.trySend(mustJSON(errorMsg{Type: "error", Message: "insufficient coins"}))
|
||||
c.trySend(mustJSON(errorMsg{Type: "error", Message: "موجودی سکه برای ورود به این میز کافی نیست"}))
|
||||
return
|
||||
}
|
||||
c.tier = tier
|
||||
|
||||
Reference in New Issue
Block a user