chest ui: chest names are centered around the cells

This commit is contained in:
minjaesong
2022-07-13 01:08:38 +09:00
parent b583cb850f
commit d86fd5d5fe
4 changed files with 21 additions and 14 deletions

View File

@@ -120,6 +120,7 @@ object BlockBase {
world.setWireGraphOf(ox, oy, item, antivec or otherNodeCnx)
}
// TODO: take ROUNDWORLD into account on node connection
fun wireStartPrimaryUse(actor: ActorWithBody, gameItem: GameItem, delta: Float) = mouseInInteractableRange(actor) {
val itemID = gameItem.originalID