diff --git a/mods/ctf/ctf_respawn_delay/init.lua b/mods/ctf/ctf_respawn_delay/init.lua index 1ea2761..60406fa 100644 --- a/mods/ctf/ctf_respawn_delay/init.lua +++ b/mods/ctf/ctf_respawn_delay/init.lua @@ -60,7 +60,7 @@ end) function respawnfunc(pname) local player = minetest.get_player_by_name(pname) - if not player then + if not player or not ctf_respawn_delay.players[pname] then ctf_respawn_delay.players[pname] = nil return end