backend: Don't consider non error in MCQ as good response
This commit is contained in:
parent
0a8d0dad30
commit
4b1b5445f7
5 changed files with 12 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Reference in a new issue