1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Fixed exhaus and added debug line

This commit is contained in:
LeMagnesium 2015-01-13 20:40:29 +01:00
parent 508add7b96
commit 2d2a441e33

View File

@ -367,6 +367,8 @@ function hud.handle_node_actions(pos, oldnode, player, ext)
if not pos and not oldnode then
new = HUD_HUNGER_EXHAUST_MOVE
end
if exhaus == nil then return end
print(exhaus) -- If exhaus goes through the condition
exhaus = exhaus + new
if exhaus > HUD_HUNGER_EXHAUST_LVL then
exhaus = 0