Skip to content

Commit

Permalink
Fixed migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed May 15, 2017
1 parent 4a17a9d commit 50f779d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

The latest stable release is available at <https://github.com/jpanther/Dectorio/releases/latest>

## v0.5.5 - 2017-05-15

### Bugfixes
* Fixed migration error

## v0.5.4 - 2017-05-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dectorio",
"version": "0.5.4",
"version": "0.5.5",
"title": "Dectorio",
"author": "PantherX",
"contact": "",
Expand Down
2 changes: 1 addition & 1 deletion migrations/0.5.3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for index, force in pairs(game.forces) do
rec["dect-wood-floor"].enabled = true
end
end
if settings.startup["dectorio-painted-concrete"] then
if settings.startup["dectorio-painted-concrete"].value then
if tech["dect-concrete-paint"].researched then
rec["dect-paint-hazard"].enabled = true
rec["dect-paint-emergency"].enabled = true
Expand Down

0 comments on commit 50f779d

Please sign in to comment.