1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-07 02:50:26 +01:00

Fix a stupid error

This commit is contained in:
LeMagnesium 2015-01-12 19:23:26 +01:00
parent a9ee4fce66
commit b18584e9c0

View File

@ -357,7 +357,7 @@ function hud.handle_node_actions(pos, oldnode, player, ext)
end
local name = player:get_player_name()
local exhaus = hud.exhaustion[name]
if not exhaus then return end
if exhaus == nil then return end
local new = HUD_HUNGER_EXHAUST_PLACE
-- placenode event
if not ext then