Change us_time calls to gametime.
This commit is contained in:
parent
2b8b604162
commit
11c4a7d7d0
3 changed files with 6 additions and 6 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_gametime() + 3600
|
||||
end
|
||||
|
||||
local descs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue