Commit fa51bbcc authored by ceddral's avatar ceddral
Browse files

board: fix special duplication

parent 9412e7b0
......@@ -561,6 +561,10 @@ func readpieces(filename string) (pieces []Piece, err error) {
fields[x].placeable = true
continue
}
if rotation != 0 {
// only add specials once, do not duplicate for each rotation
continue
}
sm := curPiece.fieldIdToSpecial
sm[id] = append(sm[id], FSpecial(c))
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment