Browse Source

Small fixes

Fix tile generation, and set default map width.
master
TheoryOfNekomata 2 years ago
parent
commit
abd2c8adbe
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/backend/services/Tile.service.ts
  2. +1
    -1
      src/components/GenerateMapForm/index.tsx

+ 1
- 1
src/backend/services/Tile.service.ts View File

@@ -97,7 +97,7 @@ export class TileServiceImpl implements TileService {
} else if (landFlags.ne) {
cursor += 8; // 21
if (landFlags.nw) {
cursor += 20; // 33
cursor += 12; // 33
}
} else if (landFlags.nw) {
cursor += 9; // 22


+ 1
- 1
src/components/GenerateMapForm/index.tsx View File

@@ -175,7 +175,7 @@ export const GenerateMapForm: VFC = () => {
block
placeholder="Width"
name="width"
defaultValue={512}
defaultValue={288}
/>
</div>
<div>


Loading…
Cancel
Save