neater
This commit is contained in:
parent
83a95ed1c1
commit
bcad4fcb73
1 changed files with 4 additions and 4 deletions
8
main.go
8
main.go
|
@ -48,10 +48,10 @@ func main() {
|
|||
}
|
||||
|
||||
tiles := make([][]engine.Tile, len(staticTiles))
|
||||
for j := range staticTiles {
|
||||
tiles[j] = make([]engine.Tile, len(staticTiles[j]))
|
||||
for i := range staticTiles[j] {
|
||||
tiles[j][i] = staticTiles[j][i]
|
||||
for j, row := range staticTiles {
|
||||
tiles[j] = make([]engine.Tile, len(row))
|
||||
for i, t := range row {
|
||||
tiles[j][i] = t
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue