Fix slight logical mistake in a comment.
parent
319542b6aa
commit
a4e13c8f36
|
@ -66,7 +66,7 @@ func main() {
|
||||||
seatID := seat.ID()
|
seatID := seat.ID()
|
||||||
seats[seatID] = seat
|
seats[seatID] = seat
|
||||||
}
|
}
|
||||||
// skip row 1 and row 127
|
// skip row 0 and row 127
|
||||||
for seatID := 8; seatID < (128-1)*8; seatID++ {
|
for seatID := 8; seatID < (128-1)*8; seatID++ {
|
||||||
// has ID + 1 and ID - 1?
|
// has ID + 1 and ID - 1?
|
||||||
if _, exists := seats[seatID]; !exists {
|
if _, exists := seats[seatID]; !exists {
|
||||||
|
|
Loading…
Reference in New Issue