From 13e981799ed81f7a5a6c404d70cd694af500f1b1 Mon Sep 17 00:00:00 2001 From: olliy <55839810+olliy1or@users.noreply.github.com> Date: Thu, 22 Apr 2021 21:20:32 +0500 Subject: [PATCH] Update shooter_rocket/init.lua Co-authored-by: LoneWolfHT --- shooter_rocket/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shooter_rocket/init.lua b/shooter_rocket/init.lua index ddffa10..84bd21b 100644 --- a/shooter_rocket/init.lua +++ b/shooter_rocket/init.lua @@ -116,7 +116,7 @@ minetest.register_tool("shooter_rocket:rocket_gun_loaded", { plcooldown[user:get_player_name()] = COOLDOWN minetest.after(COOLDOWN, function(user) if plcooldown[user:get_player_name()] then - plcooldown[user:get_player_name()] = 0 + plcooldown[user:get_player_name()] = nil end end, user) end