Enha: mime to see marks
This commit is contained in:
@@ -213,7 +213,12 @@ func HandleMarkCard(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
if err := validateMove(fi, models.UserRoleGuesser); err != nil {
|
||||
abortWithError(w, err.Error())
|
||||
// abortWithError(w, err.Error())
|
||||
log.Debug("pressed mark-card out of move", "error", err)
|
||||
return
|
||||
}
|
||||
if fi.State.Role == models.UserRoleMime {
|
||||
log.Debug("mime pressed mark-card")
|
||||
return
|
||||
}
|
||||
color, exists := fi.Room.FindColor(word)
|
||||
|
||||
Reference in New Issue
Block a user