Skip to content

Commit

Permalink
fixed lua error related to pipecovers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Lang committed Jun 13, 2021
1 parent 9d5c107 commit 22050cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.2
Bugfixes:
- fixed lua error related to pipecovers
---------------------------------------------------------------------------------------------------
Version: 0.0.1
Major Features:
- Initial release.
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nco-SmallTank",
"version": "0.0.1",
"version": "0.0.2",
"title": "Small Tank",
"author": "Karoschl",
"contact": "",
Expand Down
5 changes: 3 additions & 2 deletions prototypes/tank-entity.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local pipecovers = require("__base__/prototypes/entity/pipecovers")
require("__base__/prototypes/entity/pipecovers")
local data = _G.data
local pipecoverspictures = _G.pipecoverspictures
local circuit_connector_definitions = _G.circuit_connector_definitions
local universal_connector_template = _G.universal_connector_template
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -39,7 +40,7 @@ local myStorageTank = {
{ position = {-1.5, -0.5}},
{ position = {-1.5, 0.5}}
},
pipe_covers = pipecovers.pipecoverspictures(),
pipe_covers = pipecoverspictures(),
},
flow_length_in_ticks = 1,
pictures = {
Expand Down

0 comments on commit 22050cd

Please sign in to comment.