Skip to content

Commit

Permalink
Fixed placement render for wires and cobweb
Browse files Browse the repository at this point in the history
Would render their nodes with the sprite function, which shouldn't happen
  • Loading branch information
Cruor committed Jul 22, 2022
1 parent 047e919 commit 5686d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/entities/cobweb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ local cobweb = {}
cobweb.name = "cobweb"
cobweb.nodeLimits = {1, -1}
cobweb.depth = -1
cobweb.nodeVisibility = "never"
cobweb.fieldInformation = {
color = {
fieldType = "color"
Expand Down
1 change: 1 addition & 0 deletions src/entities/wire.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ local wire = {}

wire.name = "wire"
wire.nodeLimits = {1, 1}
wire.nodeVisibility = "never"
wire.fieldInformation = {
color = {
fieldType = "color"
Expand Down

0 comments on commit 5686d56

Please sign in to comment.