From fc5c6dc502dd9ff737db9abde18f90f9324a493c Mon Sep 17 00:00:00 2001 From: olliy <55839810+olliy1or@users.noreply.github.com> Date: Thu, 22 Apr 2021 21:20:06 +0500 Subject: [PATCH] Update shooter_rocket/init.lua Co-authored-by: LoneWolfHT --- shooter_rocket/init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/shooter_rocket/init.lua b/shooter_rocket/init.lua index b29cc0a..ddffa10 100644 --- a/shooter_rocket/init.lua +++ b/shooter_rocket/init.lua @@ -20,9 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc., local plcooldown = {} local COOLDOWN = 5 -minetest.register_on_joinplayer(function(player) - plcooldown[player:get_player_name()] = 0 -end) minetest.register_on_leaveplayer(function(player) plcooldown[player:get_player_name()] = nil