Add "return" to "tpn"...

...function.
This commit is contained in:
Panquesito7 2019-07-28 21:31:24 -05:00 committed by GitHub
parent 63a59811e2
commit b583c5c637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -272,10 +272,12 @@ function tpr_deny(name)
if tpr_list[name] then
minetest.chat_send_player(tpr_list[name], S("Teleport request denied."))
tpr_list[name] = nil
return
end
if tphr_list[name] then
minetest.chat_send_player(tphr_list[name], S("Teleport request denied."))
tphr_list[name] = nil
return
end
end