Localize variable and correct /armor calculation.
This commit is contained in:
parent
3d57691431
commit
2b8b604162
3 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ local function armor(user, factor)
|
|||
user:set_armor_groups({fleshy=factor})
|
||||
--print(dump(user:get_armor_groups()))
|
||||
minetest.chat_send_player(player_name, 'Your skin feels harder...')
|
||||
fun_caves.armor_expire[player_name] = minetest.get_us_time() + 3600 * 1000000
|
||||
fun_caves.armor_expire[player_name] = minetest.get_us_time() + (3600 * 1000000)
|
||||
end
|
||||
|
||||
local descs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue