Currently if a player has a reentry pose inside the field, it receives yellow card each time it is repositioned. Since the attribution of yellow cards is not synchronized with the GC state, this can lead to adding a third yellow card. This is an illegal call which is currently considered as fatal.
The simplest solution is to only display warnings if the illegal answer from GameController concerns a yellow card.
Currently if a player has a reentry pose inside the field, it receives yellow card each time it is repositioned. Since the attribution of yellow cards is not synchronized with the GC state, this can lead to adding a third yellow card. This is an illegal call which is currently considered as fatal.
The simplest solution is to only display warnings if the illegal answer from GameController concerns a yellow card.