Skip to content

Commit

Permalink
oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava0135 committed Apr 12, 2021
1 parent 637229e commit f2ce8d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ displayName: "reVision"
author: "Slava0135"
main: "revision.ReVision"
description: "Trying to be different"
version: "10.0"
version: "10.1"
minGameVersion: 120

2 changes: 1 addition & 1 deletion src/revision/world/blocks/production/MultiDrill.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ open class MultiDrill(name: String) : Block(name) {
val bot = (-((size - 1) / 2f)).toInt() - 1
val top = ((size - 1) / 2f + 0.5f).toInt() + 1

val edges = Edges.getInsideEdges(size) + arrayOf(Point2(bot, bot), Point2(bot, top), Point2(top, top), Point2(top, bot))
val edges = Edges.getEdges(size) + arrayOf(Point2(bot, bot), Point2(bot, top), Point2(top, top), Point2(top, bot))
for (edge in edges) {
val other = Vars.world.tile(tile.x + edge.x, tile.y + edge.y)
if (canMine(other)) {
Expand Down

0 comments on commit f2ce8d7

Please sign in to comment.