From d9da1f3ae0c25f7abb106c4a46c6ec5da475cff1 Mon Sep 17 00:00:00 2001 From: echoes91 Date: Sat, 4 Apr 2015 14:12:41 +0200 Subject: [PATCH] 1.1.2 fixed unloading --- functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.lua b/functions.lua index fa8aac2..5adba74 100644 --- a/functions.lua +++ b/functions.lua @@ -106,13 +106,13 @@ function throwing_register_bow (name, desc, scale, stiffness, reload_time, tough end local unloaded = "throwing:" .. name throwing_shoot_arrow(itemstack, user, stiffness, is_cross) - minetest.after(0.01, throwing_unload, itemstack, user, unloaded, wear) + minetest.after(0, throwing_unload, itemstack, user, unloaded, wear) return itemstack end, on_drop = function(itemstack, dropper, pointed_thing) local wear = itemstack:get_wear() local unloaded = "throwing:" .. name - minetest.after(0.01, throwing_unload, itemstack, dropper, unloaded, wear) + minetest.after(0, throwing_unload, itemstack, dropper, unloaded, wear) end, groups = {not_in_creative_inventory=1}, })