Clarify action id

This commit is contained in:
Christoph Hagen
2021-12-09 11:18:26 +01:00
parent 445363307b
commit 577a60c1d1
4 changed files with 8 additions and 6 deletions

View File

@ -176,7 +176,7 @@ final class TableManagement: DiskWriter {
func performAction(player: PlayerName, action: PlayerAction) -> PlayerActionResult {
guard let table = currentTable(for: player) else {
print("Player \(player) wants to \(action.path), but no table joined")
print("Player \(player) wants to \(action.id), but no table joined")
return .noTableJoined
}
let (result, newTable) = table.perform(action: action, forPlayer: player)