mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 21:44:05 +09:00
variable wire cutter uisng right click (no sprite change yet)
This commit is contained in:
@@ -798,6 +798,9 @@ open class TerrarumIngame(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
||||
}
|
||||
|
||||
override fun worldSecondaryClickEnd(actor: ActorWithBody, delta: Float) {
|
||||
val itemOnGrip = (actor as Pocketed).inventory.itemEquipped.get(GameItem.EquipPosition.HAND_GRIP)
|
||||
ItemCodex[itemOnGrip]?.endSecondaryUse(actor, delta)
|
||||
|
||||
worldSecondaryClickLatch = false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user