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
1 changed files with 0 additions and 3 deletions

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