ajout des chef et shaman a la creation du match
All checks were successful
check main state / build (9.0.x) (push) Successful in 1m23s

This commit was merged in pull request #28.
This commit is contained in:
2025-04-24 09:20:26 +02:00
parent 90c93df9c9
commit c1c5f6bab8
3 changed files with 23 additions and 5 deletions

View File

@@ -51,6 +51,10 @@ public class PrepareMatchCommand : BaseMatchCommand<PrepareMatchResult>
}
i++;
}
//assigner les ouvriers (1 chef, 1 shaman et 1 worker chacun)
match.AssignPiece(player.Chef, player.VisiblePosition);
match.AssignPiece(player.Shaman, player.VisiblePosition);
}
return new PrepareMatchResult()
{