Localize variable and correct /armor calculation.

This commit is contained in:
Duane 2016-06-20 22:40:41 -05:00
parent 3d57691431
commit 2b8b604162
3 changed files with 4 additions and 3 deletions

View file

@ -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 = {