mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Fikser sorteringsrekkefølge for programmeringskort
This commit is contained in:
parent
403f4a85b9
commit
8802a0841a
@ -43,6 +43,6 @@ public class ProgrammingCard implements Comparable<ProgrammingCard> {
|
||||
|
||||
@Override
|
||||
public int compareTo(ProgrammingCard programmingCard) {
|
||||
return this.cardPriority - programmingCard.cardPriority;
|
||||
return programmingCard.cardPriority - this.cardPriority;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user