fixed a long bug where item would be used twice but discounted by only one on single click

This commit is contained in:
minjaesong
2019-05-01 23:26:01 +09:00
parent 9050378e81
commit eafdeddc94
12 changed files with 104 additions and 116 deletions

View File

@@ -32,7 +32,9 @@ class WirePieceSignalWire(override val originalID: ItemID) : GameItem() {
}
override fun startPrimaryUse(delta: Float): Boolean {
return super.startPrimaryUse(delta)
println("Wire!")
return true
}
override fun effectWhenEquipped(delta: Float) {