Update shooter_rocket/init.lua
Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
This commit is contained in:
parent
5354ef82db
commit
fc5c6dc502
1 changed files with 0 additions and 3 deletions
|
@ -20,9 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
local plcooldown = {}
|
local plcooldown = {}
|
||||||
local COOLDOWN = 5
|
local COOLDOWN = 5
|
||||||
|
|
||||||
minetest.register_on_joinplayer(function(player)
|
|
||||||
plcooldown[player:get_player_name()] = 0
|
|
||||||
end)
|
|
||||||
|
|
||||||
minetest.register_on_leaveplayer(function(player)
|
minetest.register_on_leaveplayer(function(player)
|
||||||
plcooldown[player:get_player_name()] = nil
|
plcooldown[player:get_player_name()] = nil
|
||||||
|
|
Loading…
Reference in a new issue