Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
TheoryOfNekomata
/
real-worldgen
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Small fixes
Fix tile generation, and set default map width.
master
TheoryOfNekomata
2 anni fa
parent
880adeb247
commit
abd2c8adbe
2 ha cambiato i file
con
2 aggiunte
e
2 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
src/backend/services/Tile.service.ts
+1
-1
src/components/GenerateMapForm/index.tsx
+ 1
- 1
src/backend/services/Tile.service.ts
Vedi File
@@ -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
Vedi File
@@ -175,7 +175,7 @@ export const GenerateMapForm: VFC = () => {
block
placeholder="Width"
name="width"
defaultValue={
51
2}
defaultValue={2
88
}
/>
</div>
<div>
Scrivi
Anteprima
Caricamento…
Annulla
Salva