Skip to content

Commit

Permalink
Merge pull request #68 from Roang-zero1/master
Browse files Browse the repository at this point in the history
Fix crash on initial machine build pt. 2
  • Loading branch information
Troels Bjerre Lund authored Jan 25, 2020
2 parents 398bf21 + 469c1db commit 7d03a48
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 19 deletions.
20 changes: 14 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# Changelog

## 0.11.2 (2020-01-26)

### Bugfixes

- Fix missing STYLE array on incomplete init by [Roang-zero1](https://github.com/Roang-zero1)

---

## 0.11.1 (2020-01-24)

### Bugfixes

- Fix crash on initial machine build
- Fix crash on initial machine build by [Roang-zero1](https://github.com/Roang-zero1)

---

## 0.11.0 (2020-01-24)

### Features

- Use 0.17 API to request entity status
- Show rocket silo status
- New Icon options
- More customization options
- Use 0.17 API to request entity status by [Roang-zero1](https://github.com/Roang-zero1)
- Show rocket silo status by [Roang-zero1](https://github.com/Roang-zero1)
- New Icon options by [Roang-zero1](https://github.com/Roang-zero1)
- More customization options by [Roang-zero1](https://github.com/Roang-zero1)

### Bugfixes

- Fix status lamps for laboratories
- Fix status lamps for laboratories by [Roang-zero1](https://github.com/Roang-zero1)

---

Expand Down
45 changes: 39 additions & 6 deletions changelog.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,53 @@
{
"0.11.2": {
"date": "2020-01-26",
"Categories": {
"Bugfixes": [
{
"change": "Fix missing STYLE array on incomplete init",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
}
]
}
},
"0.11.1": {
"date": "2020-01-24",
"Categories": {
"Bugfixes": ["Fix crash on initial machine build"]
"Bugfixes": [
{
"change": "Fix crash on initial machine build",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
}
]
}
},
"0.11.0": {
"date": "2020-01-24",
"Categories": {
"Features": [
"Use 0.17 API to request entity status",
"Show rocket silo status",
"New Icon options",
"More customization options"
{
"change": "Use 0.17 API to request entity status",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
},
{
"change": "Show rocket silo status",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
},
{
"change": "New Icon options",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
},
{
"change": "More customization options",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
}
],
"Bugfixes": ["Fix status lamps for laboratories"]
"Bugfixes": [
{
"change": "Fix status lamps for laboratories",
"by": { "Roang-zero1": "https://github.com/Roang-zero1" }
}
]
}
},
"0.10.5": {
Expand Down
18 changes: 12 additions & 6 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
---------------------------------------------------------------------------------------------------
Version: 0.11.2
Date: 2020-01-26

Bugfixes:
- Fix missing STYLE array on incomplete init by Roang-zero1
---------------------------------------------------------------------------------------------------
Version: 0.11.1
Date: 2020-01-24

Bugfixes:
- Fix crash on initial machine build
- Fix crash on initial machine build by Roang-zero1
---------------------------------------------------------------------------------------------------
Version: 0.11.0
Date: 2020-01-24

Features:
- Use 0.17 API to request entity status
- Show rocket silo status
- New Icon options
- More customization options
- Use 0.17 API to request entity status by Roang-zero1
- Show rocket silo status by Roang-zero1
- New Icon options by Roang-zero1
- More customization options by Roang-zero1

Bugfixes:
- Fix status lamps for laboratories
- Fix status lamps for laboratories by Roang-zero1
---------------------------------------------------------------------------------------------------
Version: 0.10.5
Date: 2020-01-24
Expand Down
3 changes: 3 additions & 0 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ local function init()
end

local function on_load()
if # STYLE == 0 then
update_settings(nil)
end
register_conditional_events()
end

Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Bottleneck",
"author": "Troels Bjerre Lund",
"version": "0.11.1",
"version": "0.11.2",
"factorio_version": "0.18",
"title": "Bottleneck",
"homepage": "https://forums.factorio.com/viewtopic.php?f=144&t=28817",
Expand Down

0 comments on commit 7d03a48

Please sign in to comment.