mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Fixed exhaus and added debug line
This commit is contained in:
parent
508add7b96
commit
2d2a441e33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user