Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
TheoryOfNekomata
/
real-worldgen
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
Small fixes
Fix tile generation, and set default map width.
master
TheoryOfNekomata
2 lat temu
rodzic
880adeb247
commit
abd2c8adbe
2 zmienionych plików
z
2 dodań
i
2 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-1
src/backend/services/Tile.service.ts
+1
-1
src/components/GenerateMapForm/index.tsx
+ 1
- 1
src/backend/services/Tile.service.ts
Wyświetl plik
@@ -97,7 +97,7 @@ export class TileServiceImpl implements TileService {
} else if (landFlags.ne) {
cursor += 8; // 21
if (landFlags.nw) {
cursor += 2
0
; // 33
cursor +=
1
2; // 33
}
} else if (landFlags.nw) {
cursor += 9; // 22
+ 1
- 1
src/components/GenerateMapForm/index.tsx
Wyświetl plik
@@ -175,7 +175,7 @@ export const GenerateMapForm: VFC = () => {
block
placeholder="Width"
name="width"
defaultValue={
51
2}
defaultValue={2
88
}
/>
</div>
<div>
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz