mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 07:10:19 +01:00
Improve message about screwdriver control
The message to "hold shift" makes an unwarranted assumption about the user's keybindings. Messages from the server should refer to a key's game function, rather than its extragame identity.
This commit is contained in:
parent
a8ad9bfc9d
commit
c39b9b29de
@ -20,7 +20,7 @@ local function screwdriver_setmode(user,itemstack)
|
||||
local item = itemstack:to_table()
|
||||
local mode = tonumber(itemstack:get_metadata())
|
||||
if not mode then
|
||||
minetest.chat_send_player(player_name, "Hold shift and use to change screwdriwer modes.")
|
||||
minetest.chat_send_player(player_name, "Use while sneaking to change screwdriwer modes.")
|
||||
mode = 0
|
||||
end
|
||||
mode = mode + 1
|
||||
|
Loading…
Reference in New Issue
Block a user