mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Tweak check validation message
This commit is contained in:
parent
9c0629f9a7
commit
a8c412b207
@ -52,7 +52,7 @@ defmodule Chess.Store.Game do
|
||||
changeset
|
||||
|> add_error(
|
||||
:board,
|
||||
"That move would result in your king being in check"
|
||||
"That move would leave your king in check"
|
||||
)
|
||||
else
|
||||
changeset
|
||||
|
||||
Loading…
Reference in New Issue
Block a user