Bugfix: initialize thirst_factor when reading stash
Otherwise, thirst_factor would never get initialized, since on_join_player checks for a player table first.master
parent
f7458702bb
commit
05f0cac0b4
|
@ -274,6 +274,7 @@ function thirsty.read_stash()
|
|||
last_pos = '0:0', -- not true, but no matter
|
||||
time_in_pos = 0.0,
|
||||
pending_dmg = tonumber(dmg),
|
||||
thirst_factor = 1.0,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue