Update shooter_rocket/init.lua

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
This commit is contained in:
olliy 2021-04-22 21:20:06 +05:00 committed by GitHub
parent 5354ef82db
commit fc5c6dc502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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