backend: Don't consider non error in MCQ as good response

This commit is contained in:
nemunaire 2022-06-08 16:38:00 +02:00
commit 4b1b5445f7
5 changed files with 12 additions and 8 deletions

View file

@ -13,7 +13,7 @@ type Flag interface {
GetOrder() int8
Check(val interface{}) int
IsOptionnal() bool
FoundBy(t *Team)
FoundBy(t *Team) error
}
// GetFlag returns a list of flags comming with the challenge.