Skip to content

Commit

Permalink
VillageHeadOfTaiwu-1.1.8
Browse files Browse the repository at this point in the history
- 修正地图大小判断错误
  • Loading branch information
sth4nothing committed Nov 25, 2018
1 parent 4374fca commit 5e7fa3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VillageHeadOfTaiwu/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "VillageHeadOfTaiwu",
"DisplayName": "太吾村支书",
"Author": "sth4nothing",
"Version": "1.1.7",
"Version": "1.1.8",
"AssemblyName": "VillageHeadOfTaiwu.dll",
"EntryMethod": "Sth4nothing.VillageHeadOfTaiwu.Main.Load"
}
2 changes: 2 additions & 0 deletions VillageHeadOfTaiwu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
**村民资源采集任务管理**

## 更新日志
### 1.1.8
- 修正地图大小判断错误
### 1.1.7
- 可设定采集区域(仅限已探索出的地块)
1. 角色当前地图
Expand Down
2 changes: 1 addition & 1 deletion VillageHeadOfTaiwu/VillageHeadOfTaiwu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private void ArrangeWork(WorkType workType)

foreach (int part in parts)
{
var size = int.Parse(df.partWorldMapDate[df.mianPartId][98]); // size of map
var size = int.Parse(df.partWorldMapDate[part][98]); // size of map
for (int place = 0; place < size * size; place++)
{
if (df.HaveShow(part, place) > 0
Expand Down

0 comments on commit 5e7fa3c

Please sign in to comment.