Fix respawn_delay crash
This commit is contained in:
parent
31048422c8
commit
5975263e04
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ end)
|
||||||
function respawnfunc(pname)
|
function respawnfunc(pname)
|
||||||
local player = minetest.get_player_by_name(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
|
ctf_respawn_delay.players[pname] = nil
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue