forked from nalc/nalc_game
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 item = itemstack:to_table()
|
||||||
local mode = tonumber(itemstack:get_metadata())
|
local mode = tonumber(itemstack:get_metadata())
|
||||||
if not mode then
|
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
|
mode = 0
|
||||||
end
|
end
|
||||||
mode = mode + 1
|
mode = mode + 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user