使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
TheoryOfNekomata
/
real-worldgen
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Small fixes
Fix tile generation, and set default map width.
master
TheoryOfNekomata
2 年前
父节点
880adeb247
当前提交
abd2c8adbe
共有
2 个文件被更改
,包括
2 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
src/backend/services/Tile.service.ts
+1
-1
src/components/GenerateMapForm/index.tsx
+ 1
- 1
src/backend/services/Tile.service.ts
查看文件
@@ -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
查看文件
@@ -175,7 +175,7 @@ export const GenerateMapForm: VFC = () => {
block
placeholder="Width"
name="width"
defaultValue={
51
2}
defaultValue={2
88
}
/>
</div>
<div>
撰写
预览
正在加载...
取消
保存