Buttons can now be triggered by arrows. (#4670)

* Buttons can now be triggered by arrows.
This commit is contained in:
DrButcher
2020-05-03 21:05:32 +01:00
committed by GitHub
parent 994036a3b8
commit 258318ab98
5 changed files with 141 additions and 28 deletions
@@ -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: