Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Troels Bjerre Lund committed Jan 25, 2020
2 parents 5ffc06c + ab8721f commit 398bf21
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.11.1 (2020-01-24)

### Bugfixes

- Fix crash on initial machine build

---

## 0.11.0 (2020-01-24)

### Features
Expand Down Expand Up @@ -55,7 +63,7 @@

### Bugfixes

- 0.16 compatibility fix by ochristi)
- 0.16 compatibility fix by ochristi

### Other

Expand Down
6 changes: 6 additions & 0 deletions changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"0.11.1": {
"date": "2020-01-24",
"Categories": {
"Bugfixes": ["Fix crash on initial machine build"]
}
},
"0.11.0": {
"date": "2020-01-24",
"Categories": {
Expand Down
8 changes: 7 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 0.11.1
Date: 2020-01-24

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

Expand Down Expand Up @@ -48,7 +54,7 @@ Version: 0.9.0
Date: 2017-12-15

Bugfixes:
- 0.16 compatibility fix by ochristi)
- 0.16 compatibility fix by ochristi

Other:
- Changed logic for state tracking, to avoid light flickering (some machines would show as yellow for a tick per cycle, even when working 100%)
Expand Down
2 changes: 1 addition & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ end

local function new_signal(entity, variation)
local signal = entity.surface.create_entity{name = "bottleneck-stoplight", position = get_signal_position_from(entity), force = entity.force}
signal.graphics_variation = (global.show_bottlenecks < 1 and LIGHT["off"]) or variation or STYLE[entity.status]
signal.graphics_variation = (global.show_bottlenecks < 1 and LIGHT["off"]) or variation or STYLE[entity.status] or LIGHT["off"]
signal.destructible = false
return signal
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.0",
"version": "0.11.1",
"factorio_version": "0.18",
"title": "Bottleneck",
"homepage": "https://forums.factorio.com/viewtopic.php?f=144&t=28817",
Expand Down

0 comments on commit 398bf21

Please sign in to comment.