Update shooter_rocket/init.lua
Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
This commit is contained in:
parent
fc5c6dc502
commit
13e981799e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue