From 258318ab98771f03d0109d7dfba81daaed26a2a0 Mon Sep 17 00:00:00 2001 From: DrButcher Date: Sun, 3 May 2020 22:05:32 +0200 Subject: Buttons can now be triggered by arrows. (#4670) * Buttons can now be triggered by arrows. --- src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Simulator') diff --git a/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h b/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h index 0944c5f8e..9f490b458 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h @@ -195,7 +195,7 @@ private: switch (a_BlockType) { case E_BLOCK_STONE_PRESSURE_PLATE: - return "block.wood_pressureplate.click_on"; + return "block.stone_pressureplate.click_on"; case E_BLOCK_WOODEN_PRESSURE_PLATE: return "block.wood_pressureplate.click_on"; case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE: @@ -211,11 +211,11 @@ private: static AString GetClickOffSound(BLOCKTYPE a_BlockType) { - // manage on-sound + // manage off-sound switch (a_BlockType) { case E_BLOCK_STONE_PRESSURE_PLATE: - return "block.wood_pressureplate.click_off"; + return "block.stone_pressureplate.click_off"; case E_BLOCK_WOODEN_PRESSURE_PLATE: return "block.wood_pressureplate.click_off"; case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE: -- cgit v1.2.3