1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Fixing beginners_chest and inproving formspecs

- Fixing an error in beginners_chest
- Improving menu's formspecs for irc and rules, copied from news.
This commit is contained in:
LeMagnesium
2014-11-13 23:55:57 +01:00
parent c2a3d29e9e
commit e5e9c74392
4 changed files with 12 additions and 12 deletions

View File

@ -26,7 +26,7 @@ minetest.register_globalstep(function(dtime)
local player = minetest.get_player_by_name(playerName)
if player ~= nil then
--Check if they are moving or not
players[playerName]["moving"] = player:get_player_control()["up"]
players[playerName]["moving"] = player:get_player_control()["sneak"]
-- s'arrete si le joueur fait un clique gauche ou droit
if player:get_player_control()["RMB"] or player:get_player_control()["LMB"] and STOP_ON_CLICK == true then
players[playerName]["state"] = 0