mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-20 07:24:06 +09:00
wire is back! but not the render
This commit is contained in:
@@ -161,9 +161,9 @@ open class IngameInstance(val batch: SpriteBatch) : Screen {
|
||||
* @param old previous settings of conduits in bit set format.
|
||||
* @param new current settings of conduits in bit set format.
|
||||
*/
|
||||
open fun queueWireChangedEvent(old: ItemID, new: ItemID, position: Long) {
|
||||
open fun queueWireChangedEvent(new: ItemID, position: Long) {
|
||||
val (x, y) = LandUtil.resolveBlockAddr(world, position)
|
||||
wireChangeQueue.addLast(BlockChangeQueueItem(old, new, x, y))
|
||||
wireChangeQueue.addLast(BlockChangeQueueItem("", new, x, y))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user